public static void render(){
		if(Display.isVisible() || Display.isDirty()){

			//for(GameObject g : gameObjects)
				//g.render();
			TileMap.render();
			enemy.render();
			player.render();
			Overlay.render();
		}
	}