|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for game service providers. A game service provider is invoked when a new game instance needs to be constructed. Implementations classes are loaded from the feature list at startup. Each service class must register with the GameManager in its constructor. Also, in order for this class to be invoked, the system must contain a StartGame linked to the specific type of game. If two game services that share the same game type appear in the feature list the system will invoke the first one listed.
| Method Summary | |
java.lang.String |
getGameType()
Returns a String representing the type of Game. |
Game |
newInstance(Player p)
Returns a new game instance. |
| Methods inherited from interface talx.feature.TALFeature |
release |
| Method Detail |
public java.lang.String getGameType()
public Game newInstance(Player p)
|
talx x1.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.