gecco.game.dke
Class GameEventPointEventHandler
java.lang.Object
gecco.server.core.EventHandler
gecco.game.dke.GameEventPointEventHandler
- public class GameEventPointEventHandler
- extends EventHandler
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GameEventPointEventHandler
public GameEventPointEventHandler()
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.