public override void Update() { base.Update(); if (this.target != null) { if (this.move <= (int)this.speed.Value) { ++this.move; } else { this.cell = this.target; this.target = null; } } }
public override void Delete() { base.Delete(); this.cell = null; this.target = null; }