public void ClearPlayer(AntWrapper ant) { ant.ShootEventHandler -= AntOnShootEventHandler; ant.CurrentTile = null; }
public void AddPlayer(AntWrapper ant) { _mapControl.MapArea.Children.Add(new PlayerControl(ant)); ant.ShootEventHandler -= AntOnShootEventHandler; ant.ShootEventHandler += AntOnShootEventHandler; }