|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spellcast.client.cenginei spellcast.client.cengine
public class cengine
Field Summary |
---|
Fields inherited from class spellcast.client.cenginei |
---|
_LR_defaults_state, _LR_STATE_after_init, _LR_STATE_connected, _LR_STATE_defaults, _LR_STATE_not_connected, connect_event, disconnect_event, game_sync_event, game_update_event, io_error_event, message_event, ok_event, stop_event, terminate_event, the_exception_event, the_next_event, unknown_event |
Constructor Summary | |
---|---|
cengine(SpellcastView view,
ClientConnectionHandler clientConnectionHandler)
|
Method Summary | |
---|---|
void |
add_connection()
Add a wizard to the game. |
int |
cengine_execute(java.lang.String[] args)
|
void |
connect_this_client()
This is the first message received by the client. |
void |
display_message()
Display a message to the client. |
void |
get_external_event()
|
void |
handle_io_error()
|
void |
handle_unknown_event()
|
void |
initialise_the_program()
|
int |
mapGameEventToStateMachineEvent()
|
void |
remove_connection()
If the target of this event is the client's wizardID then we gracefully shutdown. |
void |
run()
When clientConnectionHandler has successfully connected to the Server it will create the cengine thread. |
void |
sync_game()
If there is no game info, just use the one given. |
void |
update_game()
A property has changed in the game. |
Methods inherited from class spellcast.client.cenginei |
---|
execute, raise_exception |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public cengine(SpellcastView view, ClientConnectionHandler clientConnectionHandler)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
public int cengine_execute(java.lang.String[] args)
public void initialise_the_program()
initialise_the_program
in class cenginei
public void get_external_event()
get_external_event
in class cenginei
public int mapGameEventToStateMachineEvent()
public void add_connection()
add_connection
in class cenginei
public void connect_this_client()
connect_this_client
in class cenginei
public void remove_connection()
remove_connection
in class cenginei
public void display_message()
display_message
in class cenginei
public void update_game()
update_game
in class cenginei
public void handle_unknown_event()
handle_unknown_event
in class cenginei
public void sync_game()
sync_game
in class cenginei
public void handle_io_error()
handle_io_error
in class cenginei
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |