|
talx x1.0.5 | ||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||
See:
Description
| Interface Summary | |
| GameControl | Interface used by controls that activate game play. |
| GameHandler | Handles moves generated by local and remote players. |
| GameListener | This interface is implemented by any class that wants to hear about changes to games. |
| GameService | Interface for game service providers. |
| GameView | Provides visual representation of game state. |
| Class Summary | |
| Game | Holds the current GameState, and provides handler and view factory methods. |
Provides general framework for games. The games package represents the abstract classes and interfaces that are necessary for the service provider interface (SPI) architecture used to connect game providers with game requests.
Note: The GameSPI requires that the CommandFilter be installed at the top of the incoming filter stack.
Game service providers supply basic game interpretation services. The game providers interpret the game state and provide the system with suitable game views, and game rules for the given game state. The game service class is a factory for game objects. Each game object provides factory methods for game view and game handler objects that implement the specific visuals and rules for the game implementation. This package contains the interfaces for games, game view and game handlers. The actual implementation classes would be provided in vendor-specific packages.
Game services are provided by game providers. In order to provide services, a game provider must register with the game registry. In the Think-and-link system, this means that a game provider must also implement the TALFeature or DelayedFeature interface and be listed in the feature list at system start-up. The feature then must register its services via the GameManager's addService() method either in its constructor, or for DelayedFeatures, in the initialize method. Once a game provider has registered, it is polled to determine if it is suitable for a given game request.
|
talx x1.0.5 | ||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.