A port of my JavaScript 2D Game Engine in Java