Package rs.kreme.ksbot.api.game.pathing
Enum MovementFlags
- java.lang.Object
-
- java.lang.Enum<MovementFlags>
-
- rs.kreme.ksbot.api.game.pathing.MovementFlags
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MovementFlags>
public enum MovementFlags extends java.lang.Enum<MovementFlags>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<MovementFlags>
NOT_WALKABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFlag()
static java.util.List<MovementFlags>
getListFlags(int collisionData)
static java.util.Set<MovementFlags>
getSetFlags(int collisionData)
static java.util.Set<MovementFlags>
getSetFlags(net.runelite.api.coords.WorldPoint worldPoint)
static boolean
isWalkable(net.runelite.api.coords.LocalPoint tile)
static boolean
isWalkable(net.runelite.api.coords.WorldPoint worldPoint)
static boolean
isWalkable(net.runelite.api.Tile tile)
static MovementFlags
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MovementFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCK_MOVEMENT_NORTH_WEST
public static final MovementFlags BLOCK_MOVEMENT_NORTH_WEST
-
BLOCK_MOVEMENT_NORTH
public static final MovementFlags BLOCK_MOVEMENT_NORTH
-
BLOCK_MOVEMENT_NORTH_EAST
public static final MovementFlags BLOCK_MOVEMENT_NORTH_EAST
-
BLOCK_MOVEMENT_EAST
public static final MovementFlags BLOCK_MOVEMENT_EAST
-
BLOCK_MOVEMENT_SOUTH_EAST
public static final MovementFlags BLOCK_MOVEMENT_SOUTH_EAST
-
BLOCK_MOVEMENT_SOUTH
public static final MovementFlags BLOCK_MOVEMENT_SOUTH
-
BLOCK_MOVEMENT_SOUTH_WEST
public static final MovementFlags BLOCK_MOVEMENT_SOUTH_WEST
-
BLOCK_MOVEMENT_WEST
public static final MovementFlags BLOCK_MOVEMENT_WEST
-
BLOCK_MOVEMENT_OBJECT
public static final MovementFlags BLOCK_MOVEMENT_OBJECT
-
BLOCK_MOVEMENT_FLOOR_DECORATION
public static final MovementFlags BLOCK_MOVEMENT_FLOOR_DECORATION
-
BLOCK_MOVEMENT_FLOOR
public static final MovementFlags BLOCK_MOVEMENT_FLOOR
-
BLOCK_MOVEMENT_FULL
public static final MovementFlags BLOCK_MOVEMENT_FULL
-
BLOCK_LINE_OF_SIGHT_NORTH
public static final MovementFlags BLOCK_LINE_OF_SIGHT_NORTH
-
BLOCK_LINE_OF_SIGHT_EAST
public static final MovementFlags BLOCK_LINE_OF_SIGHT_EAST
-
BLOCK_LINE_OF_SIGHT_SOUTH
public static final MovementFlags BLOCK_LINE_OF_SIGHT_SOUTH
-
BLOCK_LINE_OF_SIGHT_WEST
public static final MovementFlags BLOCK_LINE_OF_SIGHT_WEST
-
BLOCK_LINE_OF_SIGHT_FULL
public static final MovementFlags BLOCK_LINE_OF_SIGHT_FULL
-
-
Field Detail
-
NOT_WALKABLE
public static final java.util.List<MovementFlags> NOT_WALKABLE
-
-
Method Detail
-
values
public static MovementFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MovementFlags c : MovementFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MovementFlags valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getFlag
public int getFlag()
-
getListFlags
public static java.util.List<MovementFlags> getListFlags(int collisionData)
-
isWalkable
public static boolean isWalkable(net.runelite.api.coords.LocalPoint tile)
-
getSetFlags
public static java.util.Set<MovementFlags> getSetFlags(int collisionData)
-
getSetFlags
public static java.util.Set<MovementFlags> getSetFlags(net.runelite.api.coords.WorldPoint worldPoint)
-
isWalkable
public static boolean isWalkable(net.runelite.api.Tile tile)
-
isWalkable
public static boolean isWalkable(net.runelite.api.coords.WorldPoint worldPoint)
-
-