Uses of Class
org.rspeer.game.coord.collision.CollisionFlag
-
Packages that use CollisionFlag Package Description org.rspeer.game.coord.collision -
-
Uses of CollisionFlag in org.rspeer.game.coord.collision
Methods in org.rspeer.game.coord.collision that return CollisionFlag Modifier and Type Method Description static CollisionFlagCollisionFlag. valueOf(String name)Returns the enum constant of this type with the specified name.static CollisionFlag[]CollisionFlag. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.rspeer.game.coord.collision that return types with arguments of type CollisionFlag Modifier and Type Method Description static 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 CollisionFlag Modifier and Type Method Description static 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.
-