Beispiel #1
0
 //Create the specific student
 public Student(string name, EntitySex sex) : base()
 {
     //Add formulas for genderating stats
     //Base those formulas on the Class
     _name         = name;
     _sex          = sex;
     _intelligence = rand.Next(4, 8);
 }
Beispiel #2
0
 //Create the specific student
 public Worker(string name, EntitySex sex) : base()
 {
     //Add formulas for genderating stats
     //Base those formulas on the Class
     Name      = name;
     Sex       = sex;
     _strength = rand.Next(4, 8);
 }
Beispiel #3
0
 public Player(string name, EntitySex eSex, EntityClass eClass, int strength, int speed, int health, int intelligence)
 {
     Name           = name;
     Sex            = eSex;
     CharacterClass = eClass;
     Strength       = rand.Next(3, 5);
     Speed          = rand.Next(3, 5);
     Health         = rand.Next(3, 5);
     Intelligence   = rand.Next(3, 5);
 }
Beispiel #4
0
 //Create the customized student
 public Student(string name, EntitySex sex, int strength, int speed, int health, int intelligence) : base()
 {
     //Add formulas for genderating stats
     //Base those formulas on the Class
     _name         = name;
     _sex          = sex;
     _strength     = strength;
     _speed        = speed;
     _health       = health;
     _intelligence = intelligence;
 }
Beispiel #5
0
 public Player(string name, EntitySex eSex, EntityClass eClass) : base()
 {
     Name           = name;
     Sex            = eSex;
     CharacterClass = eClass;
 }