|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GameEvent | |
|---|---|
| spellcast.client | |
| spellcast.event | |
| spellcast.game | |
| spellcast.net | |
| spellcast.server | |
| Uses of GameEvent in spellcast.client |
|---|
| Methods in spellcast.client that return GameEvent | |
|---|---|
GameEvent |
ClientConnectionHandler.receive()
Removes the first event from the incoming event queue and returns it. |
| Methods in spellcast.client with parameters of type GameEvent | |
|---|---|
void |
ClientConnectionHandler.send(GameEvent event)
Send the event to the server. |
| Uses of GameEvent in spellcast.event |
|---|
| Classes in spellcast.event that implement GameEvent | |
|---|---|
class |
ConnectionEvent
The ConnectionEvent is in response to a ConnectionRequestEvent. |
class |
ConnectionRequestEvent
Request a connection to the Spellcast Game. |
class |
DisconnectionEvent
The DisconnectionEvent is in response to a DisconnectionRequestEvent. |
class |
DisconnectionRequestEvent
Request to be disconnected from the Spellcast Game. |
class |
GameSyncEvent
A Game Sync Event contains the game state for the specified client as synchronised with the server. |
class |
GameUpdateEvent
A Game Update Event contains the details of what has changed in the game. |
class |
MessageEvent
A Message Event contains a strig message to be sent to the wizards. |
class |
OkEvent
An Ok Event specifies that the wizard has completed their turn. |
class |
QueryEvent
A Query Event contains a query for the specified client. |
| Uses of GameEvent in spellcast.game |
|---|
| Methods in spellcast.game that return GameEvent | |
|---|---|
GameEvent |
IPCRequest.getGameEvent()
Get the value of event. |
| Methods in spellcast.game with parameters of type GameEvent | |
|---|---|
void |
IPC.send(Id recipient,
GameEvent e)
Send an event to the specified client. |
void |
IPC.sendToAll(GameEvent e)
Send the event to all clients. |
void |
IPCRequest.setGameEvent(GameEvent v)
Set the value of event. |
| Constructors in spellcast.game with parameters of type GameEvent | |
|---|---|
IPCRequest(IPCHandle handle,
Id id,
GameEvent event)
|
|
| Uses of GameEvent in spellcast.net |
|---|
| Methods in spellcast.net that return GameEvent | |
|---|---|
GameEvent |
WizardSocket.receive()
Receive a message from the socket. |
| Methods in spellcast.net with parameters of type GameEvent | |
|---|---|
void |
WizardSocket.send(GameEvent e)
Send the GameEvent down the socket. |
| Uses of GameEvent in spellcast.server |
|---|
| Methods in spellcast.server with parameters of type GameEvent | |
|---|---|
void |
ServerConnectionHandler.send(Id client,
GameEvent event)
Send an event to the specified client. |
void |
ServerConnectionHandler.sendToAll(GameEvent e)
Send the event to all clients. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||