This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
namespace Bestiary | |
{ | |
public class Monster | |
{ | |
public string Name { get; set; } | |
public double Hp { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
namespace Bestiary | |
{ | |
class Slime | |
{ | |
public string Name { get; set; } = "Slime"; | |
public int Hp { get; set; } = 10; |