Uses of Enum Class
com.bdtripp.hauntedhouse.model.Direction
Packages that use Direction
-
Uses of Direction in com.bdtripp.hauntedhouse.model
Methods in com.bdtripp.hauntedhouse.model that return DirectionModifier and TypeMethodDescriptionstatic DirectionDirection.fromString(String s) Converts a raw input string into aDirection.static DirectionReturns the enum constant of this class with the specified name.static Direction[]Direction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.bdtripp.hauntedhouse.model with parameters of type DirectionModifier and TypeMethodDescriptionReturns the exit associated with the given direction.Room.getNeighbor(Direction direction) Retrieves the neighboring room in the specified direction.voidCreates an exit for the roomConstructors in com.bdtripp.hauntedhouse.model with parameters of type Direction