public void SetBulletModelFromTrap(TrapModel trapModel, CreepsBehaviour targetCreepsa) { Model = new TrapBulletModel(trapModel); this.targetCreepsa = targetCreepsa; ReadyForBattle = true; }
public void Damaged(TrapBulletModel model) { this.Model.Hp -= model.Damage; if (Model.Hp <= 0) { _flagBusy = false; SetAction(CreepsBehaviourState.Dying); } }