private void Render()
        {
            Root.Clear();

            MSGCons.Blit(0, 0, 90, 5, Root, 0, 0);
            WMCons.Blit(0, 0, 90, 30, Root, 0, 5);

            Root.Flush();
        }
Пример #2
0
        private void Render()
        {
            Root.Clear();
            Scrollability = Utilities.MessageLog.RenderFullToConsole(MsgCons, ScrollValue);

            MsgCons.Blit(0, 0, 90, 30, Root, 0, 5);
            Root.PrintLine("Press <Enter> or <Escape> to return.", 1, 36, libtcodWrapper.LineAlignment.Left);

            if ((Scrollability == Guardian_Roguelike.Utilities.MessageLogScrollPossibilities.Up || Scrollability == Guardian_Roguelike.Utilities.MessageLogScrollPossibilities.Both))
            {
                Root.PutChar(90, 6, '^');
            }
            if (Scrollability == Guardian_Roguelike.Utilities.MessageLogScrollPossibilities.Down || Scrollability == Guardian_Roguelike.Utilities.MessageLogScrollPossibilities.Both)
            {
                Root.PutChar(90, 34, 'v');
            }

            Root.Flush();
        }
Пример #3
0
        private void Render()
        {
            Root.Clear();
            Utilities.MessageLog.RenderRecentToConsole(MsgCons);
            MsgCons.Blit(0, 0, 90, 5, Root, 0, 0);

            CurrentLevel.RenderToConsole(MapCons);

            MapCons.Blit(0, 0, 90, 30, Root, 1, 5);

            StatusCons.Clear();
            StatusCons.PrintLine("Turn: " + TurnsPassed.ToString(), 0, 0, libtcodWrapper.LineAlignment.Left);
            StatusCons.PrintLine("Level " + LevelNumber.ToString(), 0, 1, libtcodWrapper.LineAlignment.Left);
            StatusCons.PrintLine("V:" + Player.BaseVigor.ToString() + " E:" + Player.BaseEnergy.ToString() + " Sp:" + Player.BaseSpeed.ToString() + " St:" + Player.BaseStrength.ToString() + " A:" + Player.BaseAim.ToString(), 0, 2, libtcodWrapper.LineAlignment.Left);

            StatusCons.PrintLine(MakeLimbStatusString(Player), 0, 3, libtcodWrapper.LineAlignment.Left);
            StatusCons.Blit(0, 0, 90, 5, Root, 0, 35);

            Root.Flush();
        }