A small and simple 2d game engine in java