|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.arcade.listeners.arcadeListeners.ArcadeEventAdapter
vooga.users.ui.UsersGUI
public class UsersGUI
This class is the coordination point between the Arcade and the various UI elements of the users group. It handles the creation of all of our tabs, buttons, and windows. It also listens for arcade events that require a response from the users group.
Constructor Summary | |
---|---|
UsersGUI(IVoogaGUI ui)
Default constructor as per the Arcade's API. |
Method Summary | |
---|---|
void |
createLoginScreen()
Draws the login screen using the VoogaGUI createNewFrame method |
void |
endArcade(EndArcadeEvent event)
Contains actions performed with the EndArcadeEvent is fired. |
UserDatabaseInterface |
makeTestingDB()
Makes a test user database |
void |
selectGame(SelectGameEvent event)
Contains actions performed with the SelectGameEvent is fired. |
void |
showAllUsersTab()
Creates & displays a user's preferences |
void |
startArcade(StartArcadeEvent event)
Contains actions performed with the StartArcadeEvent is fired. |
void |
startLogin(StartLoginEvent event)
Contains actions performed with the StartLoginEvent is fired. |
Methods inherited from class vooga.arcade.listeners.arcadeListeners.ArcadeEventAdapter |
---|
closeMultiplayerLobby, endGame, endMultiplayerGame, receiveArcadeEvent, startGame, startMultiplayerGame, startMultiplayerLobby |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsersGUI(IVoogaGUI ui)
ui
- the Arcade UIMethod Detail |
---|
public void createLoginScreen()
public UserDatabaseInterface makeTestingDB()
public void endArcade(EndArcadeEvent event)
IArcadeEventListener
endArcade
in interface IArcadeEventListener
endArcade
in class ArcadeEventAdapter
public void startArcade(StartArcadeEvent event)
IArcadeEventListener
startArcade
in interface IArcadeEventListener
startArcade
in class ArcadeEventAdapter
public void showAllUsersTab()
public void startLogin(StartLoginEvent event)
IArcadeEventListener
startLogin
in interface IArcadeEventListener
startLogin
in class ArcadeEventAdapter
public void selectGame(SelectGameEvent event)
IArcadeEventListener
selectGame
in interface IArcadeEventListener
selectGame
in class ArcadeEventAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |