Exemplo n.º 1
0
 /// <summary>
 /// Called to leave buidling mode.
 /// </summary>
 public void StopBuilding()
 {
     m_TowerToBuild = null;
     Cursor.SetCursor(normalCursor, cursorNormalHotspot, CursorMode.Auto);
 }
Exemplo n.º 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);
 }