public void Die() { Player.Units.Remove(this); if (Capturing != null) { Capturing.StopCapture(); } }
public void Wait() { if (Moved) { return; } if (Capturing != null) { Capturing.StopCapture(); } Moved = true; }
public void Move(Vector2 position) { if (Moved) { return; } if (Capturing != null && position != Position) { Capturing.StopCapture(); } Position = position; Moved = true; }