public SaveMobLogicClass(MobLogic mob)
 {
     this.xCoord       = mob.mob_data.xCoord;
     this.yCoord       = mob.mob_data.yCoord;
     this.mob_HP       = mob.mob_data.mob_HP;
     this.mob_Poisoned = mob.mob_data.mob_Poisoned;
     this.mob_Cursed   = mob.mob_data.mob_Cursed;
     this.mob_Blinded  = mob.mob_data.mob_Blinded;
     this.mob_Slowed   = mob.mob_data.mob_Slowed;
     this.mob_Weakened = mob.mob_data.mob_Weakened;
     this.mob_Stoned   = mob.mob_data.mob_Stoned;
     this.mob_Frog     = mob.mob_data.mob_Frog;
     this.wp_index     = mob.mob_data.wp_index;
 }
Ejemplo n.º 2
0
 public MobsController(IUnitOfWork uof, MobLogic mobLogic)
 {
     _uof      = uof;
     _mobLogic = mobLogic;
 }