예제 #1
0
 private bool PositionForDiagonalMoveIsValid(Vector3Int selectedPosition)
 {
     if (listOfTheLiving.GetUnitOnPosition(selectedPosition))
     {
         return(diagonalMove.CanDiagonalMove(selectedPosition));
     }
     return(false);
 }
예제 #2
0
 private bool PositionForDiagonalMoveIsValid(Vector3Int selectedPosition)
 {
     return(diagonalMove.CanDiagonalMove(selectedPosition));
 }