Added first steps to new questing system, v1.4.0
This commit is contained in:
@@ -183,11 +183,6 @@ public class WorldGenerator : MonoBehaviour
|
||||
return currentTile;
|
||||
}
|
||||
|
||||
public void updateCityCount(GameObject gameObject)
|
||||
{
|
||||
gameObject.GetComponent<Text>().text = "Cities: " + (maxCityAmount - cityAmount) + "/" + maxCityAmount;
|
||||
}
|
||||
|
||||
public string saveGame()
|
||||
{
|
||||
string result = "";
|
||||
@@ -257,4 +252,9 @@ public class WorldGenerator : MonoBehaviour
|
||||
Vector3 position = new Vector3(currentTile.transform.position.x, 5, currentTile.transform.position.z);
|
||||
player.transform.SetPositionAndRotation(position, player.transform.rotation);
|
||||
}
|
||||
|
||||
public int getCityAmount()
|
||||
{
|
||||
return maxCityAmount;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user