Beispiel #1
0
    private void InitManager()
    {
        mUIManager     = new UIManager(this);
        mPlayerManager = new PlayerManager(this);
        mGameManager   = new GameManager(this);
        mItemManager   = new ItemManager(this);
        mDoorManager   = new DoorManager(this);
        mAudioManager  = new AudioManager(this);
        mEnergyManager = new EnergyManager(this);

        mUIManager.OnInit();
        mPlayerManager.OnInit();
        mGameManager.OnInit();
        mItemManager.OnInit();
        mDoorManager.OnInit();
        mAudioManager.OnInit();
        mEnergyManager.OnInit();
    }