5556575859606162636465
bufferGraphics = offscreen.getGraphics(); /* init the player */ p = new Player(360, 300); /* init the other GUI elements */ npc = new NPC(690, 420); /* init the map */ mainMap = new GameMap(this); addKeyListener(this); addKeyListener(p);