Uses of Enum Class
org.rspeer.game.coord.collision.CollisionFlag
Packages that use CollisionFlag
-
Uses of CollisionFlag in org.rspeer.game.coord.collision
Subclasses with type arguments of type CollisionFlag in org.rspeer.game.coord.collisionModifier and TypeClassDescriptionenumRepresents the full set of collision and movement-blocking flags used by the OSRS tile collision system.Methods in org.rspeer.game.coord.collision that return CollisionFlagModifier and TypeMethodDescriptionstatic CollisionFlagReturns the enum constant of this class with the specified name.static CollisionFlag[]CollisionFlag.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.rspeer.game.coord.collision that return types with arguments of type CollisionFlagModifier and TypeMethodDescriptionstatic EnumSet<CollisionFlag> CollisionFlag.fromValue(int mask) Converts a raw collision mask into anEnumSetof individual flags.Methods in org.rspeer.game.coord.collision with parameters of type CollisionFlagModifier and TypeMethodDescriptionstatic intCollisionFlag.combine(CollisionFlag... flags) Combines multipleCollisionFlagvalues into a single integer mask.static booleanCollisionFlag.isAllSet(int mask, CollisionFlag... flags) Checks whether all specified flags are present in the mask.static booleanCollisionFlag.isAnySet(int mask, CollisionFlag... flags) Checks whether any of the given flags are present in the mask.static booleanCollisionFlag.isSet(int mask, CollisionFlag flag) Checks whether a specific flag is present in the given collision mask.