Example #1
0
 public void HumanReturnInt0()
 {
     Human race = new Human();
     int actual = race.StrRacialMod;
     int expected = 0;
     Assert.AreEqual(expected, actual);
 }
Example #2
0
 public void CreatePlayerRace(string race)
 {
     switch (race)
     {
         case "Elf":
             Race = new Elf();
             break;
         case "Human":
             Race = new Human();
             break;
         case "Dwarf":
             Race = new Dwarf();
             break;
         case "Gnome":
             Race = new Gnome();
             break;
         case "Half-Elf":
             Race = new HalfElf();
             break;
         case "Half-Orc":
             Race = new HalfOrc();
             break;
         case "Halfing":
             Race = new Halfing();
             break;
     }
 }
Example #3
0
 public void Init()
 {
     Human human = new Human();
     Human = human;
 }