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; }
public void setEnemyDomain(mDOMAIN dom) { this.pMob.domain = dom; }
public void setSpellDomain(mDOMAIN dom) { this.spell.domain = dom; }