A 2D Game with java