Add error handling if currentX
and currentY
are not aligned with unit spaces
#147
Labels
currentX
and currentY
are not aligned with unit spaces
#147
moveStraight
andmoveDiagonal
assume that the EM is aligned with a unit space. Should add a check to those functions to make sure that we are aligned before moving.The text was updated successfully, but these errors were encountered: