예제 #1
0
    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);
    }
예제 #2
0
    // 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();
    }
예제 #3
0
파일: MainLogic.cs 프로젝트: Shahdee/repair
    void Start()
    {
        mainLogic = this;

        itemManager    = new ItemManager();
        dataController = new DataController();

        // inputManager.Init();

        EventManager.AddGameStartListener(GameStarted);
        EventManager.AddGameEndedListener(GameEnded);

        OnDataLoaded();

        guiLogic.Init();
    }
예제 #4
0
    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);
    }
예제 #5
0
파일: MainLogic.cs 프로젝트: Shahdee/pot
    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);
    }