StarSystem

Stars With switching positions
(Bought stars are not saved or shown)
This commit is contained in:
brausjonas
2023-02-26 22:26:58 +01:00
parent 63ed43576c
commit 94d05de754
20 changed files with 1215 additions and 166 deletions
+1 -3
View File
@@ -6,8 +6,6 @@ using UnityEngine;
public abstract class Player : MonoBehaviour
{
public GameObject Layout2;
public string name = "";
public bool activated = false;
protected bool wurfelt = false;
@@ -55,7 +53,7 @@ public abstract class Player : MonoBehaviour
Coin
}
protected void AddCoins(int amount)
public void AddCoins(int amount)
{
coins += amount;
if (coins < 0)