|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTracksail.CreateGameActionListener
Handles clicking the 'create game' button.
| Constructor Summary | |
(package private) |
Tracksail.CreateGameActionListener()
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Attempt to create a race in the server for this player. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Tracksail.CreateGameActionListener()
| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
We read from the text field the requested name for the race and create a race with that name to the server. If the server returns ok, we move to the racing state and the player is set as the master player for the created race.
actionPerformed in interface java.awt.event.ActionListenere - ActionEvent event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||