Uses of Enum Class
org.progettoedids.util.Direction
Packages that use Direction
Package
Description
This package holds the Labyrinth class and its loaders.
This package holds miscellaneous general-purpose utilities to use by other classes.
-
Uses of Direction in org.progettoedids.labyrinth
Methods in org.progettoedids.labyrinth with parameters of type DirectionModifier and TypeMethodDescriptionbooleanLabyrinth.canMoveByOne(UUID entityUUID, Direction direction) Checks whether a move by one of a specific Entity in a certain Direction is allowed.voidLabyrinth.moveEntityByOne(UUID entityUUID, Direction direction) Moves the Entity by one Room in a certain Direction. -
Uses of Direction in org.progettoedids.util
Methods in org.progettoedids.util that return DirectionModifier and TypeMethodDescriptionstatic 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 org.progettoedids.util with parameters of type DirectionModifier and TypeMethodDescriptionPosition.nextPositionInDirection(Direction direction) Returns the adjacent Position in a certain Direction