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