예제 #1
0
 public override void Update(MouseClick tileLocation)
 {
 }
예제 #2
0
 /// <summary>
 /// Perform actions depending on the current state and the click location.
 /// </summary>
 public virtual void Update(MouseClick tileLocation)
 {
     Debug.WriteLine("Click received at tile {0}.", tileLocation);
     if (CurrentState != null)
     {
         CurrentState.Update(this, tileLocation);
     }
 }