gecco.game.dke
Class WarUnitEventHandler

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

public class WarUnitEventHandler
extends EventHandler


Constructor Summary
WarUnitEventHandler()
           
 
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

WarUnitEventHandler

public WarUnitEventHandler()
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.