jurpe.dungeon.crawler
Class MapCrawler

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

public class MapCrawler
extends java.lang.Object

HexMap interactive manager class. Handles all keyboard commands for the hexmap.


Constructor Summary
MapCrawler(HexMap map, Dungeons game)
          Constructor
 
Method Summary
 DungeonCommand processCommand(java.awt.event.KeyEvent ke)
          Process any keyboard command given to hexmap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapCrawler

public MapCrawler(HexMap map,
                  Dungeons game)
Constructor

Parameters:
map - HexMap control
game - Dungeons handle
Method Detail

processCommand

public DungeonCommand processCommand(java.awt.event.KeyEvent ke)
                              throws java.lang.Exception
Process any keyboard command given to hexmap

Parameters:
ke - KeyEvent
Returns:
A command to execute
Throws:
java.lang.Exception
See Also:
DungeonCommand

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