protected override void MoveTo(Ocean ocean, Point location) { var fishAtLocation = ocean.GetFishAt(location.X, location.Y); if (fishAtLocation != null) { ocean.Remove(fishAtLocation); } ocean.MoveTo(this, location); }
protected override void MoveTo(Ocean ocean, Point location) { ocean.MoveTo(this, location); }