예제 #1
0
 /// <summary>
 /// Called to leave buidling mode.
 /// </summary>
 public void StopBuilding()
 {
     m_TowerToBuild = null;
     Cursor.SetCursor(normalCursor, cursorNormalHotspot, CursorMode.Auto);
 }
예제 #2
0
 /// <summary>
 /// We select the tower we want to build
 /// </summary>
 /// <param name="tower">Tower to build</param>
 public void SetTowerToBuild(Tower tower)
 {
     m_TowerToBuild = tower;
     // We change the cursor to the build mode one
     Cursor.SetCursor(buildCursor, cursorBuildHotspot, CursorMode.Auto);
 }