Newer
Older
lostmynuts / shared / js / Game / Game.js
@Mark Mark on 29 Jan 2021 252 bytes Improve the framework
var Game = {}

Game.InitGame = function(rootDrawable, gameClass)
{
	//This is a place to connect any "singleton" style classes to the game.
	this.GameDialogsInstance = new GameDialogs();
	this.Game = new gameClass(rootDrawable);

	return this.Game;
}