talx.games.tech
Class TechGame
java.lang.Object
talx.games.Game
talx.games.tech.TechGame
- All Implemented Interfaces:
- java.io.Serializable
- public class TechGame
- extends Game
- See Also:
- Serialized Form
| Methods inherited from class talx.games.Game |
addGameListener, equals, fireLocalModelChange, fireLocalModelChange, fireRemoteModelChange, fireRemoteModelChange, getGameManager, getPlayer, getState, removeGameListener, setState, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TechGame
public TechGame(Player p,
GameManager g,
StringValueMap text)
- Parameters:
p - the player.g - the system's game manager.text - a map from Tech key constants to UI text samples.
getHandler
public GameHandler getHandler()
- Description copied from class:
Game
- Returns the handler for this Game. As with all ActionHandlers,
the returned object should be stateless, and obtain all state
information from the object returned by getState. For this reason,
the game handler returned is usually a singleton.
- Specified by:
getHandler in class Game
getView
public GameView getView(MailSystemDesktop ms,
Settings settings)
- Description copied from class:
Game
- Returns the view associated with this Game. This method
should just return a newly created implementation object
of GameView that is capable of displaying this type of
game. The parameters are included for the view to conform
to the look and feel of the current system.
- Specified by:
getView in class Game
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.