|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Demo2
shows how to use EventPool
and IEventHandler
to create
events in game.EventPool
collects all the events from the game loop.GameClockException
that includes the current
stack trace.
GameClockException
with the current stack
trace and the specified detail message.
HumanKilledbyZombieEvent
implements the interface IEventHandler
to create
an event for the ZombieLand game.IEventHandler
interface provides the interface for other classes to register for
the Event.GameClockException
that includes the current
stack trace.
GameClockException
with the current stack
trace and the specified detail message.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |