This commit is contained in:
brausjonas committed 2023-04-11 14:34:32 +02:00
1 parent 7f577bb14a
commit 8ac19a6503
4 files changed
+8

No files matched your search

@@ -14,6 +14,7 @@ public class NoPlayablePlayer : Player
private float speed = 5;
private float interPol = 0;
private int wurfelZahl = 0;
public Client client;
private bool wait = false;
private bool lastActivated = false;
@@ -38,6 +39,7 @@ public class NoPlayablePlayer : Player
activated = false;
diceScript = dice.GetComponent<Dice>();
AddItem(client.items[1]);
}
private void Start()
@@ -49,6 +49,8 @@ public class PlayablePlayer : Player
diceScript = dice.GetComponent<Dice>();
instance = this;
AddItem(client.items[1]);
}
public static PlayablePlayer GetCurrentInstance()