Example #1
0
 private void CheckOpportunityTakeStep()
 {
     Directions.SetActive(false);
     if (InMove && currentDirection != null)
     {
         CurrentCell         = currentDirection.GetCell();
         DirectionCoordinate = currentDirection.transform.position;
         DeterminesWhereGo();
         CurrentCell.OccupyCage();
         CurrentCell.SetWhoIsThere(ThisPerson);
     }
     else
     {
         ResetElements();
     }
 }