static void Main(string[] args) { // Do not mind the red-underline, these classes need to be implemented by you StreetFighter mess = new StreetFighter(120, 2, 1, 7); ProFighter ryu = new ProFighter(150, 4, 2, 13); RockStarFighter blanka = new RockStarFighter(170, 5, 4, 17); ryu.DoBoxing(blanka); mess.DoStreet(blanka); blanka.DoBoxing(ryu); blanka.DoMuayThai(ryu); blanka.DoStreet(mess); Console.ReadLine(); }
static void Main(string[] args) { StreetFighter mess = new StreetFighter(120, 2, 1, 7); ProFighter ryu = new ProFighter(150, 4, 2, 13); RockStarFighter blanka = new RockStarFighter(170, 5, 4, 17); ryu.DoBoxing(blanka); blanka.DoStreet(mess); mess.DoStreet(blanka); blanka.DoStreet(mess); blanka.DoBoxing(ryu); blanka.DoStreet(mess); blanka.DoMuayThai(ryu); blanka.DoStreet(mess); blanka.DoStreet(mess); blanka.DoStreet(mess); blanka.DoStreet(mess); blanka.DoStreet(mess); mess.DoStreet(blanka); Console.ReadLine(); }