This commit is contained in:
AliIbnAbiTalib
2023-04-03 21:17:18 +02:00
parent 27eb835c32
commit 658d73df56
7 changed files with 346 additions and 447 deletions
@@ -7,7 +7,6 @@ using UnityEngine.UI;
public class NoPlayablePlayer : Player
{
public Field nextField;
private Field currentField;
public GameObject dice;
private Dice diceScript;
private Vector3 moveTo = Vector3.zero;
@@ -157,6 +156,9 @@ public class NoPlayablePlayer : Player
InterPolerate();
wurfelZahl--;
textLeftMoves.text = wurfelZahl + "";
//the next field is the current field XD
currentField = nextField;
//Visiere das nächste Feld an falls noch ein Zug übrig ist (Player steht gerade auf einem Feld oder läuft darüber)
if (wurfelZahl > 0)