Ejemplo n.º 1
0
 public override void Update(MouseClick tileLocation)
 {
 }
Ejemplo n.º 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);
     }
 }