Package rushhour.model
Class MoveCollisionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rushhour.model.MoveException
rushhour.model.MoveCollisionException
- All Implemented Interfaces:
Serializable
public class MoveCollisionException extends MoveException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MoveCollisionException(Move.Direction dir, PlacedCar car, BoardState board)
-
Method Summary
Modifier and Type Method Description BoardState
getBoard()
String
toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace