Ejemplo n.º 1
0
 public Enemy(int id, int hp = 0, int spd = 0, Equipment equipped = default(Equipment), pStat stat = default(pStat), mDOMAIN dom = mDOMAIN.NONE, mCLASS c = default(mCLASS), mSEX g = mSEX.MALE)
 {
     this.pMob.enemyId = id;
     this.pMob.health  = hp;
     this.pMob.speed   = spd;
     this.pMob.items   = equipped;
     this.pMob.stats   = stat;
     this.pMob.domain  = dom;
     this.pMob.eClass  = c;
     this.pMob.gender  = g;
 }
Ejemplo n.º 2
0
 public void setEnemyDomain(mDOMAIN dom)
 {
     this.pMob.domain = dom;
 }
Ejemplo n.º 3
0
 public void setSpellDomain(mDOMAIN dom)
 {
     this.spell.domain = dom;
 }