Example #1
0
        // UPDATE FUNCS

        public override void Update()
        {
            if (playMode == PlayMode.Roguelike)
            {
                Scheduler.HandleRoguelikeScheduling(Program.WorldMap.LocalTile);
                StatusPanel.HandleStatus();
            }
            else
            {
                Scheduler.HandleBuildModeScheduling(Program.WorldMap.LocalTile);
                GUI.BuildPanel.HandleBuildPanel();
                BuildingManager.HandleInput();
            }

            InventoryPanel.HandleInventory();
        }
Example #2
0
        // UPDATE FUNCS

        public override void Update()
        {
            switch (playMode)
            {
            case (PlayMode.Roguelike):
                Scheduler.HandleRoguelikeScheduling(Program.Player);
                StatusPanel.HandleStatus();
                break;

            case (PlayMode.BuildMode):
                Scheduler.HandleBuildModeScheduling();
                GUI.BuildPanel.HandleBuildPanel();
                BuildingManager.HandleInput();
                break;
            }

            InventoryPanel.HandleInventory();
        }
Example #3
0
 public override void Update()
 {
     InventoryPanel.HandleInventory();
     StatusPanel.HandleStatus();
     StatusPanel.HandleAttributesView();
 }
Example #4
0
 public override void Update()
 {
     StatusPanel.HandleStatus();
     InventoryPanel.HandleInventory();
     lootMenu.HandleLootMenu();
 }