public GameWindow() {
		
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setTitle(title);
		
		canvas = new GLCanvas();
		graphics = new GraphicsEngine(canvas, 60, Loader.getBaseBatch());
		camera = graphics.getCamera();
		camera.setHeight(10);
		camera.setWidth(10);
		camera.translateCamera(0, 0);
		camera.setZoom(1);
		
		currentMap = new Map(10,10);
		for(int x = 0; x < 10; x++)
			for(int y = 0; y < 10; y++)
				currentMap.recreateGridSpot(x, y, Terrain.fromTemplate(0, x, y));
		this.setSize(900, 600);
		this.setResizable(false);
		this.add(canvas);
		
		//graphics.switchRenderList(currentMap.getRenderables(2, 2, 5, 5));
		gameObject = new GameObject(graphics.getTextureBatch().getTexture(0), true, 0, 0);
		ArrayList<Renderable> test = new ArrayList<Renderable>();
		test.add(gameObject);
		graphics.switchRenderList(test);
		graphics.startRendering();
		this.setVisible(true);
	}