Uses of Class
jurpe.dungeon.crawler.Direction

Packages that use Direction
jurpe.dungeon   
jurpe.dungeon.crawler   
jurpe.dungeon.hexmap   
jurpe.dungeon.rpgmap   
 

Uses of Direction in jurpe.dungeon
 

Methods in jurpe.dungeon that return Direction
 Direction Avatar.getEdge(HexMap hexMap)
          Get the direction in which Avatar is getting close to the perimenter
 

Methods in jurpe.dungeon with parameters of type Direction
 void PlaceHolder.move(Direction direction)
          Move placeholder
 void Avatar.move(Direction d)
          Move avatar in some direction
 

Uses of Direction in jurpe.dungeon.crawler
 

Methods in jurpe.dungeon.crawler that return Direction
static Direction Direction.fromString(java.lang.String str)
          Get a direction from a string.
static Direction Direction.fromValue(short x)
          Return a direction from a given value
 Direction HexMapCommand.getDirection()
          Get the Direction to move in HexMap
static Direction Direction.getInverse(Direction d)
          Get the inverse direction (ie: North->South, SouthWest->NorthEast)
static Direction Direction.getRandom(java.util.Random rnd)
          Get a random direction
static Direction Direction.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Direction[] Direction.values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 

Methods in jurpe.dungeon.crawler with parameters of type Direction
static Direction Direction.getInverse(Direction d)
          Get the inverse direction (ie: North->South, SouthWest->NorthEast)
 int[] Hexagon.getSide(Direction dir)
          Get the coordinates of 1 side of hexagon
 

Constructors in jurpe.dungeon.crawler with parameters of type Direction
HexMapCommand(Direction dir)
          Constructor.
HexMapCommand(Direction dir, Instruction ins)
          Constructor
 

Uses of Direction in jurpe.dungeon.hexmap
 

Methods in jurpe.dungeon.hexmap with parameters of type Direction
 void HexMapDrawing.drawCorridor(java.awt.Graphics g, RpgMapPoint from, Direction direction)
          Draw a corridor between the hexagon having center in from, toward direction
 void HexMapDrawing.drawDoor(java.awt.Graphics g, java.awt.Point center, Direction direction, boolean open)
          Draw a corridor between the hexagon having center in from, toward direction
 void HexMapDrawing.eraseWall(java.awt.Graphics g, java.awt.Point c, Direction dir)
          Draw an hexagon with a corridor (opening) in dir Direction.
 

Uses of Direction in jurpe.dungeon.rpgmap
 

Methods in jurpe.dungeon.rpgmap that return Direction
 Direction Passage.getDirection()
          Return the direction of this passage.
 Direction[] Cell.getDoorables()
          Return all the directions in which this cell may have a door.
 Direction[] Cell.getDoors()
          Get all directions in whose there are doors.
 Direction MapView.getPerimeterEdge(RpgMapPoint avp)
          This method returns true if the point avp is "next" to a viewport perimeter (up, down, left, right).
 

Methods in jurpe.dungeon.rpgmap with parameters of type Direction
 Cell RpgMap.getCell(Cell from, Direction to)
          Get RpgMapCell that is located in direction 'to' starting from 'from' Cell
 Passage CellPassages.getLeftward(Direction dir)
          Get the leftward passage respect to dir
 Passage CellPassages.getPassage(Direction dir)
          Get the passage in direction d
 Passage CellPassages.getRightward(Direction dir)
           
 boolean Cell.isCorridor(Direction dir)
          Return true if the passage between this cell and the cell in d direction is a corridor, that is, it's opened.
 boolean Cell.isDoor(Direction dir)
          Return true if there is a door in the direction dir
 RpgMapPoint RpgMap.moveTo(RpgMapPoint from, Direction dir)
          This method returns the coordinates of the arrival point when starting from a point a taking a direction.
 void MapView.scrollView(RpgMapPoint avatarPoint, Direction dir)
          Scroll this view in the Direction d.
 void Cell.setCorridor(Direction dir, boolean opened)
          Set if the passage between this cell and the cell in d direction is opened
 void Cell.setDoor(Direction dir)
          Set a door.
 

Constructors in jurpe.dungeon.rpgmap with parameters of type Direction
Passage(Direction dir)
          Constructor.
 


Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net