예제 #1
0
    void Update()
    {
        ulong dtTime = TimeMgr.SinceTimeMs(mLastUpdateTime);

        mLastUpdateTime = TimeMgr.CurTimeMs;

        SocketMgr.Update();
        StateMgr.Update();
        ResMgr.Update();
        HttpMgr.Update();
        if (null != GameSceneMgr)
        {
            GameSceneMgr.Update(dtTime);
        }
        TimerManager.Instance.Update(dtTime);
    }