gecco.game.dke
Class GameEventPointEventHandler

java.lang.Object
  extended bygecco.server.core.EventHandler
      extended bygecco.game.dke.GameEventPointEventHandler

public class GameEventPointEventHandler
extends EventHandler


Constructor Summary
GameEventPointEventHandler()
           
 
Method Summary
 void handleEvent(UnitEvent event, Unit unit)
          The method that is called by the game engine when a unit of a unit type with this event handler receives a message.
 
Methods inherited from class gecco.server.core.EventHandler
sendUnitMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameEventPointEventHandler

public GameEventPointEventHandler()
Method Detail

handleEvent

public void handleEvent(UnitEvent event,
                        Unit unit)
Description copied from class: EventHandler
The method that is called by the game engine when a unit of a unit type with this event handler receives a message. Most of the code of the event handler will be in this method.

Specified by:
handleEvent in class EventHandler
Parameters:
event - The event.
unit - The unit affected by the event.