Ejemplo n.º 1
0
        public void ArchiveManagerStates(float currTime)
        {
            TimerManager.PushToMemento(this.pTimerMemento, currTime);
            GameObjectManager.PushToMemento(this.pGameObjectMemento);
            ColPairManager.PushToMemento(this.pColPairMemento);

            SpriteBatch pSpriteBatch = SpriteBatchManager.Find(SpriteBatch.Name.Sprites);

            pSpriteBatch.GetSBNodeManager().PushToMemento(this.pSpritesSBNodeMemento);
            pSpriteBatch = SpriteBatchManager.Find(SpriteBatch.Name.Boxes);
            pSpriteBatch.GetSBNodeManager().PushToMemento(this.pSpriteBoxesSBNodeMemento);
        }