Esempio n. 1
0
 // Updates all the characters movement line when the player presses a key that might change the movement line
 private void updateAllMovementLine()
 {
     foreach (Character character in playerControl.GetCharacters())
     {
         MovementIndicator charIndicator = character.GetComponent <MovementIndicator>();
         charIndicator.DrawMovementLine(character.GetCellLocation());
     }
 }
Esempio n. 2
0
        private void drawCurrentMovementLine(Cell endLocation)
        {
            MovementIndicator playerIndicator = playerCharacter.GetComponent <MovementIndicator>();

            playerIndicator.DrawMovementLine(endLocation);
        }