Ejemplo n.º 1
0
        protected override void Render()
        {
            if (drawArt)
            {
                Player player = PlayerInstanceManager.GetPlayer(Singleton <Map> .GetInstance().map) as Player;
                bgArt.Draw(0, 0);
                enemyArt.Draw(10, 10);
                DialogHelper.WriteDialog(ConsoleColor.Yellow, ConsoleColor.Black, 130, 0, 54, $"{enemy.Name}:");
                int i = 1;
                enemy.PartyMembers?.ForEach(n => {
                    DialogHelper.WriteDialog(ConsoleColor.Red, ConsoleColor.Black, 130, (i * 5), 54, $"{n.Name}:");
                    i++;
                }
                                            );

                DialogHelper.WriteDialog(ConsoleColor.Blue, ConsoleColor.Black, 184, 0, 54,
                                         $"{player.Name} ({player.Race.Name} {player.Class.Name})",
                                         $"Hp:{player.HP.MaxBase} Stamina {player.Stamina.MaxBase}",
                                         "Magic--------------",
                                         $"Fire:{player.Fire.MaxBase} Water:{player.Water.MaxBase}",
                                         $"Earth:{player.Earth.MaxBase} Wind:{player.Wind.MaxBase}",
                                         $"Chaos:{player.Chaos.MaxBase} Order:{player.Order.MaxBase}",
                                         $"Dark:{player.Darkness.MaxBase} Light:{player.Light.MaxBase}"
                                         );
                drawArt = false;
            }
        }
Ejemplo n.º 2
0
 public override void Render()
 {
     backgroundImage.Draw();//draw att 0,0
 }