|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jogre.common.GameList
A GameList contains a number of Game objects.
Field Summary | |
protected HashMap |
gamelist
HashMap containing a number of Game objects. |
Constructor Summary | |
GameList()
Constructor to a game list. |
Method Summary | |
void |
addGame(Game game)
Add a game to the game list. |
Game |
getGame(String gameKey)
Return a Game object from a game key. |
Vector |
getGameKeys()
Return the game keys. |
int |
size()
Return the number of games currently loaded up. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected HashMap gamelist
Constructor Detail |
public GameList()
Method Detail |
public void addGame(Game game)
game
- Specified game.public Game getGame(String gameKey)
gameKey
- game title and version seperated with a dash -.
e.g. chess-0.1
public Vector getGameKeys()
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |