コード例 #1
0
 // method for creating the Orc Class
 public Orc()
 {
     Name           = "Orc";
     Strength       = 17;
     Health         = 18;
     FightBehaviour = new ClubBehaviour();
 }
コード例 #2
0
 // method for creating the TownPerson Class
 public TownPerson()
 {
     Name = "TownPerson";
     Strength = 11;
     Health = 12;
     FightBehaviour = new ClubBehaviour();
 }
コード例 #3
0
 // method for creating the Orc Class
 public Orc()
 {
     Name = "Orc";
     Strength = 17;
     Health = 18;
     FightBehaviour = new ClubBehaviour();
 }
コード例 #4
0
 // method for creating the TownPerson Class
 public TownPerson()
 {
     Name           = "TownPerson";
     Strength       = 11;
     Health         = 12;
     FightBehaviour = new ClubBehaviour();
 }