예제 #1
0
        public override void Update()
        {
            StatusPanel.HandleStatus();
            InventoryPanel.HandleInventory();

            GUI.CraftMenu.HandleCraftMenu();
        }
예제 #2
0
        public override void Update()
        {
            StatusPanel.HandleStatus();
            bool mouseOnItem = InventoryPanel.HandleInventory();

            InventoryPanel.HandleItemView(mouseOnItem);
        }
예제 #3
0
        public override void Update()
        {
            StatusPanel.HandleStatus();
            InventoryPanel.HandleInventory();

            if (Program.Animations.Count == 0)
            {
                Play.RenderMap();
                Program.MsgConsole.Render();
            }

            GUI.CraftMenu.HandleCraftMenu();
        }
예제 #4
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();
        }
예제 #5
0
파일: Play.cs 프로젝트: aenemenate/Landlord
        // 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();
        }
예제 #6
0
 public override void Update()
 {
     InventoryPanel.HandleInventory();
     StatusPanel.HandleStatus();
     StatusPanel.HandleAttributesView();
 }
예제 #7
0
 public override void Update()
 {
     StatusPanel.HandleStatus();
     InventoryPanel.HandleInventory();
     lootMenu.HandleLootMenu();
 }