package
{
	import ggj2014BsAs.grupoJ.gui.ContenedorRelojitos;
	import org.flixel.*;
	import gameStates.*;
	
	[SWF(width="640", height="480", backgroundColor="#000000")]
	[Frame(factoryClass="Preloader")]

	public class GameEngine extends FlxGame
	{
		public static var instancia:GameEngine;
		public var _contenedor:ContenedorRelojitos;
		
		public function GameEngine()
		{
			instancia = this;
			super(640, 480,MenuState,1);//tamanio de la ventana
			forceDebugger = true;
		}
		
		public static function agregarContenedorRelojito(contenedor:ContenedorRelojitos):void
		{
			instancia._contenedor = contenedor;
			instancia.addChild(contenedor);
		}
	}
}
