RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.game.world.pathfinding.TraversalConstants Class Reference

Represents flags for each of the traversals. More...

Static Public Attributes

static final int BLOCKED = 0x200000
 The flag which denotes a blocked tile.
static final int BRIDGE = 0x40000
 The flag which denotes a bridge tile.
static final int IMPENETRABLE_BLOCKED = 0x20000
 The flag for an object occupant, which is impenetrable.
static final int IMPENETRABLE_WALL_EAST = 0x1000
 The flag for a impenetrable east facing wall.
static final int IMPENETRABLE_WALL_NORTH = 0x400
 The flag for a impenetrable north facing wall.
static final int IMPENETRABLE_WALL_NORTH_EAST = 0x800
 The flag for a impenetrable north east facing wall.
static final int IMPENETRABLE_WALL_NORTH_WEST = 0x200
 The flag for a impenetrable north west facing wall.
static final int IMPENETRABLE_WALL_SOUTH = 0x4000
 The flag for a impenetrable south facing wall.
static final int IMPENETRABLE_WALL_SOUTH_EAST = 0x2000
 The flag for a impenetrable south east facing wall.
static final int IMPENETRABLE_WALL_SOUTH_WEST = 0x8000
 The flag for a impenetrable south west facing wall.
static final int IMPENETRABLE_WALL_WEST = 0x10000
 The flag for a impenetrable west facing wall.
static final int NONE = 0x0
 The flag which denotes a normal tile, no flag.
static final int WALL_EAST = 0x8
 The flag for a east facing wall.
static final int WALL_NORTH = 0x2
 The flag for a north facing wall.
static final int WALL_NORTH_EAST = 0x4
 The flag for a north east facing wall.
static final int WALL_NORTH_WEST = 0x1
 The flag for a north west facing wall.
static final int WALL_SOUTH = 0x20
 The flag for a south facing wall.
static final int WALL_SOUTH_EAST = 0x10
 The flag for a south east facing wall.
static final int WALL_SOUTH_WEST = 0x40
 The flag for a south west facing wall.
static final int WALL_WEST = 0x80
 The flag for a west facing wall.

Private Member Functions

 TraversalConstants ()
 Suppresses the default-public constructor preventing this class from being instantiated by other classes.

Detailed Description

Represents flags for each of the traversals.

Author
Ryley Kimmel ryley.nosp@m..kim.nosp@m.mel@l.nosp@m.ive..nosp@m.com
Artem Batutin artem.nosp@m.batu.nosp@m.tin@g.nosp@m.mail.nosp@m..com

Definition at line 9 of file TraversalConstants.java.

Constructor & Destructor Documentation

◆ TraversalConstants()

com.runehive.game.world.pathfinding.TraversalConstants.TraversalConstants ( )
private

Suppresses the default-public constructor preventing this class from being instantiated by other classes.

Exceptions
UnsupportedOperationExceptionIf this class is instantiated within itself.

Definition at line 78 of file TraversalConstants.java.

78 {
79 throw new UnsupportedOperationException("constant-container classes may not be instantiated.");
80 }

Member Data Documentation

◆ BLOCKED

◆ BRIDGE

final int com.runehive.game.world.pathfinding.TraversalConstants.BRIDGE = 0x40000
static

The flag which denotes a bridge tile.

Definition at line 15 of file TraversalConstants.java.

Referenced by com.runehive.game.world.pathfinding.TraversalMap.markBridge().

◆ IMPENETRABLE_BLOCKED

◆ IMPENETRABLE_WALL_EAST

◆ IMPENETRABLE_WALL_NORTH

◆ IMPENETRABLE_WALL_NORTH_EAST

final int com.runehive.game.world.pathfinding.TraversalConstants.IMPENETRABLE_WALL_NORTH_EAST = 0x800
static

◆ IMPENETRABLE_WALL_NORTH_WEST

final int com.runehive.game.world.pathfinding.TraversalConstants.IMPENETRABLE_WALL_NORTH_WEST = 0x200
static

◆ IMPENETRABLE_WALL_SOUTH

◆ IMPENETRABLE_WALL_SOUTH_EAST

final int com.runehive.game.world.pathfinding.TraversalConstants.IMPENETRABLE_WALL_SOUTH_EAST = 0x2000
static

◆ IMPENETRABLE_WALL_SOUTH_WEST

final int com.runehive.game.world.pathfinding.TraversalConstants.IMPENETRABLE_WALL_SOUTH_WEST = 0x8000
static

◆ IMPENETRABLE_WALL_WEST

◆ NONE

final int com.runehive.game.world.pathfinding.TraversalConstants.NONE = 0x0
static

The flag which denotes a normal tile, no flag.

Definition at line 12 of file TraversalConstants.java.

◆ WALL_EAST

◆ WALL_NORTH

◆ WALL_NORTH_EAST

final int com.runehive.game.world.pathfinding.TraversalConstants.WALL_NORTH_EAST = 0x4
static

◆ WALL_NORTH_WEST

final int com.runehive.game.world.pathfinding.TraversalConstants.WALL_NORTH_WEST = 0x1
static

◆ WALL_SOUTH

◆ WALL_SOUTH_EAST

final int com.runehive.game.world.pathfinding.TraversalConstants.WALL_SOUTH_EAST = 0x10
static

◆ WALL_SOUTH_WEST

final int com.runehive.game.world.pathfinding.TraversalConstants.WALL_SOUTH_WEST = 0x40
static

◆ WALL_WEST


The documentation for this class was generated from the following file: