// : Create public CLASSZombie CreateZombie(int zombieNumber) { DATAZombie data = this.minister.DATASecretary.DictZombie[zombieNumber]; CLASSZombie newZombie = new CLASSZombie(data); return(newZombie); }
public CLASSZombie(DATAZombie data) { // :: Use this.Data = data; this.Info = new INFOZombie(); // :: Init this.Change_ZombieStatus(Enum.eZombieStatus.WAIT); this.Change_ZombieCondition(Enum.eCondition.NORMAL); this.Info.cur_deadline_second = 0; this.Info.cur_calm_down = this.Data.max_calm_down; this.Info.cur_training_point = 0; this.Info.required_training_point = (int)((float)this.Data.max_training_point * 0.7f); }