package gridworld;

import bwyap.gridgame.GridGame;
import gridworld.res.GridWorldResources;

/**
 * This is the class that is run by the Driver class.
 * All custom implementation through the GridGame Engine should be handled here.
 * Contains the game engine, game window and input controller objects
 * @author bwyap
 *
 */
public class GridWorld extends GridGame {
	
	public static final String TITLE = "Grid world";
	
	@Override
	protected void initResource() {
		// Initialize custom GridWorld resources
		res = new GridWorldResources();
		res.init();
		res.load();
	}
	
	@Override
	protected void initWindow() {
		// Initialize a new GridWorldWindow (instead of default window)
		window = new GridWorldDemoWindow(TITLE);
		window.addKeyListener(input);
		((GridWorldDemoWindow)window).testInit();
	}
	
}

@@ -643,16 +643,20 @@
 ridWorld
+Demo
 Window (
@@ -757,16 +757,51 @@
 input);%0A
+%09%09%0A%09%09// initialize demo components%0A
 %09%09((Grid

Update documentation