MoveResult
Represents the result of a move operation. This interface provides a success property that indicates whether the move was successful or not. If the move was successful, success is true, otherwise it is false. The type property aims at uniquely identifying the reason why the move was not successful. The following types are available:
MoveResult.Success if the move was successful
MoveResult.LocationNotReachable if the location is not reachable from the current location (no path can be found to there or the destination itself is not accessible)
MoveResult.LocationOutOfBounds if the location is out of the bounds of the map
MoveResult.UnspecifiedError if the move failed due to an further unspecified error
MoveResult.Unknown if the type of the move result is unknown
Since
1.0.0