Exemple #1
0
 //overloaded constructor
 public Character(Race r, ClassType ct, int chp, int mhp, BaseStat i, BaseStat charis, BaseStat s, BaseStat d, BaseStat w, BaseStat cons)
 {
     this.race     = r; this.classType = ct; this.currentHitPoints = chp; this.maxHitPoints = mhp; this.intelligence = i;
     this.charisma = charis; this.strength = s; this.dexterity = d; this.wisdom = w; this.constitution = cons;
 }
Exemple #2
0
 //constructor is basestats are unkown/not needed yet
 public Character(Race r, ClassType ct, int chp, int mhp)
 {
     this.race = r; this.classType = ct; this.currentHitPoints = chp; this.maxHitPoints = mhp;
 }