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 voidCollidable.collidedWithSolid(Frame collision, Direction dir) Optional reaction to a collision that can be invoked in other GameElements reactToCollision().default voidCollidable.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 TypeMethodDescriptionvoidGameElement.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 TypeMethodDescriptionvoidEntity.collidedWithSolid(Frame collision, Direction dir) This implementation will ensure that no entity is able to fall through the ground or into another Object.voidPlayer.collidedWithSolid(Frame collision, Direction dir) voidStateEntity.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 TypeMethodDescriptionvoidInanimate.collidedWithSolid(Frame collision, Direction dir) voidInanimate.reactToCollision(GameElement element, Direction dir) voidInanimateFloor.reactToCollision(GameElement element, Direction dir) final voidInanimateTrigger.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 TypeMethodDescriptionvoidDamageParticle.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 voidPickup.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 TypeMethodDescriptionvoidBackgroundElement.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 DirectionDirection.getOpposite(Direction dir) Get the opposite direction to a direction.static DirectionDirection.getRandom()Get a random Direction.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 rekit.primitives.geometry with parameters of type DirectionModifier and TypeMethodDescriptionfloatGets the component of the frames border at given direction.static DirectionDirection.getOpposite(Direction dir) Get the opposite direction to a direction.