void Start() { m_DataLoader = new DataLoader(this); m_LevelLogic = new LevelLogic(this); m_Profile = new PlayerProfile(this); // m_InputManager.Init(this); // m_EntityManager.Init(this); m_GUILogic.Init(this); }
// public PlayerProfile GetPlayerProfile(){ // return m_Profile; // } void Start() { m_DataLoader = new DataLoader(this); m_LevelLogic = new LevelLogic(this); // m_Profile = new PlayerProfile(this); m_InputManager.Init(this); m_Level.Init(this); m_EntityManager.Init(this); m_GUILogic.Init(this); // InitBackend(); OnAuthComplete(); }
void Start() { mainLogic = this; itemManager = new ItemManager(); dataController = new DataController(); // inputManager.Init(); EventManager.AddGameStartListener(GameStarted); EventManager.AddGameEndedListener(GameEnded); OnDataLoaded(); guiLogic.Init(); }
void Start() { m_Logic = this; m_LevelLogic = new LevelLogic(); m_PhysManager = new PhysicsManager(); m_InputManager.Init(); m_Level.Init(); m_EntityManager.Init(); m_GUILogic.Init(); m_LevelLogic.AddGameStartListener(GameStarted); m_LevelLogic.AddLevelStartListener(LevelStarted); m_LevelLogic.AddLevelEndListener(LevelEnded); }
void Start() { m_Logic = this; dataController = new DataController(); m_LevelLogic = new LevelLogic(); // m_PhysManager = new PhysicsManager(); // m_InputManager.Init(); // m_Level.Init(); m_GUILogic.Init(); m_LevelLogic.AddGameStartListener(GameStarted); m_LevelLogic.AddLevelStartListener(LevelStarted); m_LevelLogic.AddLevelEndListener(LevelEnded); }