bidde sehr

This commit is contained in:
AliIbnAbiTalib
2023-02-27 19:26:09 +01:00
parent 51155b4e97
commit 7a337ca15f
6 changed files with 34 additions and 22 deletions
@@ -54,6 +54,7 @@ public class PlayablePlayer : Player
{
wurfelt = true;
wurfelZahl = Random.Range(1, 7);
textLeftMoves.text = wurfelZahl + "";
client.SendWurfeln(wurfelZahl);
@@ -91,6 +92,7 @@ public class PlayablePlayer : Player
else if (wurfelZahl > 0)
{
wurfelZahl--;
textLeftMoves.text = wurfelZahl + "";
//the next field is the current field XD
currentField = nextField;
+1 -1
View File
@@ -17,7 +17,7 @@ public abstract class Player : MonoBehaviour
public int index;
public int coins = 0;
public int stars = 0;
public TMP_Text textCoinsInfo, textStarsInfo;
public TMP_Text textCoinsInfo, textStarsInfo, textLeftMoves;
protected bool eventstop = false;
public UIHandler uiHandler;