<!doctype html>
<html>
	<head>
		<title>Simple Snowflake Test</title>
		<script src="../bower_components/almond/almond.js"></script>
		<script src="../bower_components/udefine/dist/udefine.js"></script>
		<script src="../bower_components/mixedice/dist/mixedice.js"></script>
		<script src="../bower_components/eventmap/dist/eventmap.js"></script>
		<script src="../dist/snowflake.all.js"></script>
	</head>
	<body>
		
		<script>
			require(['snowflake/graphics/dom', 'snowflake/game'], function(Graphics, Game) {
				Graphics.init('#container');
				
				console.log(Graphics);
				console.log(Game);
				
				new Game(function() {
					
					console.log(this);
					
					this.addScene(function() {
						this.name = 'main';
					});
					
					console.log(this);
					console.log(this.children);
					
					this.showScene('main');
					
				});
			});
		</script>
	</body>
</html>
<!doctype html>
<html>
	<head>
		<title>Simple Snowflake Test</title>
		<script src="../bower_components/almond/almond.js"></script>
		<script src="../bower_components/udefine/dist/udefine.js"></script>
		<script src="../bower_components/mixedice/dist/mixedice.js"></script>
		<script src="../bower_components/eventmap/dist/eventmap.js"></script>
		<script src="../dist/snowflake.all.js"></script>
	</head>
	<body>
		
		<script>
			require(['snowflake/graphics/dom', 'snowflake/game'], function(Graphics, Game) {
				Graphics.init('#container');
				
				console.log(Graphics);
				console.log(Game);
				
				new Game(function() {
					
					console.log(this);
					
					this.addScene(function() {
						this.name = 'main';
						
						this.addGameObject(function() {
							this.name = 'myGameObject';
						});
					});
					
					console.log(this);
					console.log(this.children);
					
					this.showScene('main');
					
				});
			});
		</script>
	</body>
</html>
Add a sample game object
Add a sample game object
