Uses of Enum Class
rekit.primitives.geometry.Direction
Packages that use Direction
Package
Description
-
Uses of Direction in rekit.gui.controller.commands
Constructors in rekit.gui.controller.commands with parameters of type DirectionModifierConstructorDescriptionWalkCommand
(CommandSupervisor supervisor, Direction dir) Instantiate the WalkCommand. -
Uses of Direction in rekit.logic
Methods in rekit.logic with parameters of type DirectionModifier and TypeMethodDescriptiondefault void
Collidable.collidedWithSolid
(Frame collision, Direction dir) Optional reaction to a collision that can be invoked in other GameElements reactToCollision().default void
Collidable.reactToCollision
(GameElement element, Direction dir) Notification that this GameElement has been collided with from another GameElement element from the given direction dir. -
Uses of Direction in rekit.logic.gameelements
Methods in rekit.logic.gameelements with parameters of type DirectionModifier and TypeMethodDescriptionvoid
GameElement.reactToCollision
(GameElement element, Direction dir) -
Uses of Direction in rekit.logic.gameelements.entities
Methods in rekit.logic.gameelements.entities that return DirectionMethods in rekit.logic.gameelements.entities with parameters of type DirectionModifier and TypeMethodDescriptionvoid
Entity.collidedWithSolid
(Frame collision, Direction dir) This implementation will ensure that no entity is able to fall through the ground or into another Object.void
Player.collidedWithSolid
(Frame collision, Direction dir) void
StateEntity.collidedWithSolid
(Frame collision, Direction dir) -
Uses of Direction in rekit.logic.gameelements.inanimate
Methods in rekit.logic.gameelements.inanimate with parameters of type DirectionModifier and TypeMethodDescriptionvoid
Inanimate.collidedWithSolid
(Frame collision, Direction dir) void
Inanimate.reactToCollision
(GameElement element, Direction dir) void
InanimateFloor.reactToCollision
(GameElement element, Direction dir) final void
InanimateTrigger.reactToCollision
(GameElement element, Direction dir) -
Uses of Direction in rekit.logic.gameelements.particles
Methods in rekit.logic.gameelements.particles with parameters of type DirectionModifier and TypeMethodDescriptionvoid
DamageParticle.reactToCollision
(GameElement element, Direction dir) -
Uses of Direction in rekit.logic.gameelements.type
Methods in rekit.logic.gameelements.type with parameters of type DirectionModifier and TypeMethodDescriptionfinal void
Pickup.reactToCollision
(GameElement element, Direction dir) -
Uses of Direction in rekit.logic.gui.parallax
Methods in rekit.logic.gui.parallax with parameters of type DirectionModifier and TypeMethodDescriptionvoid
BackgroundElement.collidedWithSolid
(Frame collision, Direction dir) -
Uses of Direction in rekit.primitives.geometry
Methods in rekit.primitives.geometry that return DirectionModifier and TypeMethodDescriptionDirection.getNextAntiClockwise()
Get the next direction to a direction (anticlockwise).Direction.getNextClockwise()
Get the next direction to a direction (clockwise).Direction.getOpposite()
Get the opposite direction.static Direction
Direction.getOpposite
(Direction dir) Get the opposite direction to a direction.static Direction
Direction.getRandom()
Get a random Direction.static Direction
Returns 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 rekit.primitives.geometry with parameters of type DirectionModifier and TypeMethodDescriptionfloat
Gets the component of the frames border at given direction.static Direction
Direction.getOpposite
(Direction dir) Get the opposite direction to a direction.