Java Universal Role Playing Engine Version 0.3.9

jurpe.dungeon.crawler
Class MapCrawler

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

public final class MapCrawler
extends java.lang.Object

HexMap interactive manager class. Handles all keyboard commands for the hexmap, moves placeholders and so on.


Method Summary
static MapCrawler getReference(Dungeons game)
          Per ottenere un handle alla classe instanziata (singleton)
 DungeonCommand recognizeCommand(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
 

Method Detail

getReference

public static MapCrawler getReference(Dungeons game)
Per ottenere un handle alla classe instanziata (singleton)

Returns:
Reference a Singleton

recognizeCommand

public DungeonCommand recognizeCommand(java.awt.event.KeyEvent ke)
                                throws JurpeException
Process any keyboard command given to hexmap. The command is usually processed by DungeonCommander.execute()

Parameters:
ke - KeyEvent
Returns:
A command to execute
Throws:
JurpeException
See Also:
DungeonCommand

Java Universal Role Playing Engine Version 0.3.9

Copyright ? 2010 http://jurpe.sourceforge.net/ All Rights Reserved.