Ejemplo n.º 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);
    }
Ejemplo n.º 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();
    }
Ejemplo n.º 3
0
    void Start()
    {
        mainLogic = this;

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

        // inputManager.Init();

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

        OnDataLoaded();

        guiLogic.Init();
    }
Ejemplo n.º 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);
    }
Ejemplo n.º 5
0
    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);
    }