jurpe.dungeon.crawler
Class HexMapCommand

java.lang.Object
  extended by jurpe.dungeon.crawler.HexMapCommand

public class HexMapCommand
extends java.lang.Object

A command issued by the player in the HexMap control


Constructor Summary
HexMapCommand(Direction dir)
          Constructor.
HexMapCommand(Direction dir, Instruction ins)
          Constructor
HexMapCommand(Instruction ins)
          Constructor
 
Method Summary
 Direction getDirection()
          Get the Direction to move in HexMap
 Instruction getInstruction()
          Get the Instruction associated to the command
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexMapCommand

public HexMapCommand(Direction dir,
                     Instruction ins)
Constructor

Parameters:
dir - Direction to move in HexMap
ins - Instruction associated to the command

HexMapCommand

public HexMapCommand(Direction dir)
Constructor.

Parameters:
dir - Direction to move in HexMap

HexMapCommand

public HexMapCommand(Instruction ins)
Constructor

Parameters:
ins - Instruction associated to the command
Method Detail

getInstruction

public Instruction getInstruction()
Get the Instruction associated to the command

Returns:
Instruction associated to the command

getDirection

public Direction getDirection()
Get the Direction to move in HexMap

Returns:
Direction to move in HexMap

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