// 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()); } }
private void drawCurrentMovementLine(Cell endLocation) { MovementIndicator playerIndicator = playerCharacter.GetComponent <MovementIndicator>(); playerIndicator.DrawMovementLine(endLocation); }