talx x1.0.5

talx.games.tech
Class TechGame

java.lang.Object
  extended bytalx.games.Game
      extended bytalx.games.tech.TechGame
All Implemented Interfaces:
java.io.Serializable

public class TechGame
extends Game

See Also:
Serialized Form

Field Summary
 
Fields inherited from class talx.games.Game
isSynchronized
 
Constructor Summary
TechGame(Player p, GameManager g, StringValueMap text)
           
 
Method Summary
 GameHandler getHandler()
          Returns the handler for this Game.
 GameView getView(MailSystemDesktop ms, Settings settings)
          Returns the view associated with this Game.
 
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
 

Constructor Detail

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.
Method Detail

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

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.