|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
IEventHandler | The IEventHandler interface provides the interface for other classes to register for
the Event. |
IEventSpriteHandler |
Class Summary | |
---|---|
EventPool | The EventPool collects all the events from the game loop. |
The application which utilizes this event system will be able to help objects to register or listen to an event as well as fire an event when the event is triggered. The event will be automatically fired and received in game loop when the event is triggered.
This Event system primarily includes two classes whose names are EventPool and IEventHandler. IEventHandler is interface while EventPool is a class.
Every class which implements IEventHandler
interface can be added into EventPool
for checking the events later in game loop.
Please see the event classes in this package.
Please see the event example here: vooga.examples.event.demo2
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |