Beispiel #1
0
 /** Imposta la cella corrente del giocatore
  * */
 public void setCurrentCell(Cell currentCell)
 {
     this.curCell = currentCell;
     List<Vector3> positions = Token.gameObject.GetComponent<PlayerMover>().getPositionsByCell(currentCell);
     Token.gameObject.transform.position = positions[1];
     currentCell.setTokensOnCell(currentCell.getTokensOnCell() + 1);
 }