コード例 #1
0
 public override void Update(MouseClick tileLocation)
 {
 }
コード例 #2
0
ファイル: KaroGameManager.cs プロジェクト: Bakkes/Karo
 /// <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);
     }
 }