Ejemplo n.º 1
0
        public virtual void Update(GameTime gameTime)
        {
            foreach (GameObjectOverworld obj in gameObjects)
            {
                obj.Update(gameTime);
            }

            if ((ControlManager.CheckPress(RebindableKeys.Action1) ||
                 ControlManager.CheckKeyPress(Keys.Enter)) &&
                !game.player.HyperspeedOn &&
                !game.stateManager.overworldState.IsBurnOutEndingActivated)
            {
                EnterCheck();
            }

            if (garbageGameObjects.Count > 0)
            {
                DeleteRemovedGameObjects();
            }

            ShopManager.UpdateShops(gameObjects);
        }
Ejemplo n.º 2
0
 public void UpdateShops_DEVELOP()
 {
     ShopManager.UpdateShops(gameObjects);
 }