static void Main(string[] args) { Console.WriteLine("Hello World!"); Player p1 = new Player("ming"); Monster m1 = new Monster("Monster"); Npc n1 = new Npc("Npc"); Console.WriteLine(n1.Atk(m1)); Basedata b = n1; }
static void Main(string[] args) { Console.WriteLine("Hello World!"); Player p1 = new Player("ming"); Monster m1 = new Monster("Monster"); Npc n1 = new Npc("Npc"); Console.WriteLine(n1.Atk(m1)); Basedata b = n1; }