@Override
 public void init() {
   GameWindowApplet applet = new GameWindowApplet(this, 640, 480);
   Renderer gameRenderer = new Java2DRenderer(applet);
   gameRenderer.setResolution(640, 480);
   gameBase = new GameBase(gameRenderer);
   gameBase.setPreferredFPS(60L);
   gameBase.startThreaded();
 }
 @Override
 public void stop() {
   gameBase.stopThreaded();
 }