public void PrintCharacterSummary(int tick) { SimpleGUI.SetCursorPosition(0, _characterIndex); Console.WriteLine(Dead ? $"{Name} has died. " : $"{Name} at ({X},{Y}) has {HitPoints} hit points left"); }
public void ReceiveSpellDamage(string description, int index, double points) { if (_hitPoints > 0) { _hitPoints = _hitPoints - points; } SimpleGUI.SetCursorPosition(index, _characterIndex); Console.WriteLine($" {Name} received {points} damage from the spell {description}"); }