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