static void Main(string[] args) { DigimonArena arena = new DigimonArena("Fire Arena"); Digimon a = new Digimon("Fire"); Digimon b = new Digimon("Ice"); arena.Fight(a, b); }
public void Fight(Digimon a, Digimon b) { this.FirstDigi = a; this.SecondDigi = b; System.Console.WriteLine("Digimon {0} is fighting Digimon {1} in arena: {2}.", this.FirstDigi.name, this.SecondDigi.name, arenaName); }