Class CollisionFlags
- java.lang.Object
-
- org.rspeer.game.movement.pathfinding.util.CollisionFlags
-
@Deprecated public class CollisionFlags extends Object
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static intBLOCK_MOVEMENT_FULLDeprecated.static intBLOCKEDDeprecated.static intFOV_EASTDeprecated.static intFOV_NORTHDeprecated.static intFOV_SOUTHDeprecated.static intFOV_WESTDeprecated.static intIMPENETRABLEDeprecated.static intNORTH_EAST_WALLDeprecated.static intNORTH_WEST_WALLDeprecated.static intOCCUPIEDDeprecated.static intOCCUPIED_DECORDeprecated.static intSOLIDDeprecated.static intSOUTH_EAST_WALLDeprecated.static intSOUTH_WEST_WALLDeprecated.static intUNINITIALIZEDDeprecated.static intWALL_EASTDeprecated.static intWALL_NORTHDeprecated.static intWALL_SOUTHDeprecated.static intWALL_WESTDeprecated.
-
Constructor Summary
Constructors Constructor Description CollisionFlags()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleancheck(int flag, int checkFlag)Deprecated.static booleancheckWalkable(Direction dir, int startFlag, int endFlag, boolean ignoreStartBlocked)Deprecated.static booleancheckWalkable(Position start, Position end, boolean ignoreStartBlocked)Deprecated.static booleanisBlocked(int flag)Deprecated.static booleanisBlocked(Coord coord)Deprecated.static booleanisBlocked(Position flag)Deprecated.static StringtoString(int flag)Deprecated.
-
-
-
Field Detail
-
OCCUPIED
public static final int OCCUPIED
Deprecated.- See Also:
- Constant Field Values
-
OCCUPIED_DECOR
public static final int OCCUPIED_DECOR
Deprecated.- See Also:
- Constant Field Values
-
BLOCKED
public static final int BLOCKED
Deprecated.- See Also:
- Constant Field Values
-
UNINITIALIZED
public static final int UNINITIALIZED
Deprecated.- See Also:
- Constant Field Values
-
IMPENETRABLE
public static final int IMPENETRABLE
Deprecated.- See Also:
- Constant Field Values
-
WALL_NORTH
public static final int WALL_NORTH
Deprecated.- See Also:
- Constant Field Values
-
WALL_EAST
public static final int WALL_EAST
Deprecated.- See Also:
- Constant Field Values
-
WALL_SOUTH
public static final int WALL_SOUTH
Deprecated.- See Also:
- Constant Field Values
-
WALL_WEST
public static final int WALL_WEST
Deprecated.- See Also:
- Constant Field Values
-
NORTH_WEST_WALL
public static final int NORTH_WEST_WALL
Deprecated.- See Also:
- Constant Field Values
-
NORTH_EAST_WALL
public static final int NORTH_EAST_WALL
Deprecated.- See Also:
- Constant Field Values
-
SOUTH_EAST_WALL
public static final int SOUTH_EAST_WALL
Deprecated.- See Also:
- Constant Field Values
-
SOUTH_WEST_WALL
public static final int SOUTH_WEST_WALL
Deprecated.- See Also:
- Constant Field Values
-
SOLID
public static final int SOLID
Deprecated.- See Also:
- Constant Field Values
-
FOV_NORTH
public static final int FOV_NORTH
Deprecated.- See Also:
- Constant Field Values
-
FOV_EAST
public static final int FOV_EAST
Deprecated.- See Also:
- Constant Field Values
-
FOV_SOUTH
public static final int FOV_SOUTH
Deprecated.- See Also:
- Constant Field Values
-
FOV_WEST
public static final int FOV_WEST
Deprecated.- See Also:
- Constant Field Values
-
BLOCK_MOVEMENT_FULL
public static final int BLOCK_MOVEMENT_FULL
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
isBlocked
public static boolean isBlocked(Position flag)
Deprecated.
-
isBlocked
public static boolean isBlocked(Coord coord)
Deprecated.
-
isBlocked
public static boolean isBlocked(int flag)
Deprecated.
-
checkWalkable
public static boolean checkWalkable(Position start, Position end, boolean ignoreStartBlocked)
Deprecated.
-
checkWalkable
public static boolean checkWalkable(Direction dir, int startFlag, int endFlag, boolean ignoreStartBlocked)
Deprecated.
-
check
public static boolean check(int flag, int checkFlag)Deprecated.
-
toString
public static String toString(int flag)
Deprecated.
-
-