Uses of Class
rea.gaming.GameInstance
Packages that use GameInstance
Package
Description
The main package of REA.
Types related to events.
The types directly related to playing a game.
-
Uses of GameInstance in rea
Methods in rea that return GameInstanceModifier and TypeMethodDescriptionManager.createGameInstance
(String gameName) Create a game instance with the given name.Methods in rea that return types with arguments of type GameInstanceModifier and TypeMethodDescriptionManager.getGameInstances()
Get all the game instances.(package private) List
<GameInstance> Manager.getGamesInstancesAboutToStart()
Get the games instances about to start.Methods in rea with parameters of type GameInstanceModifier and TypeMethodDescriptionvoid
Manager.deleteGameInstance
(GameInstance gameInstance) Delete a game instance from the pool, if it can be deleted. -
Uses of GameInstance in rea.events
Methods in rea.events that return GameInstanceModifier and TypeMethodDescriptionGameChangedEvent.getGameInstance()
Get the game instance that changed.Methods in rea.events that return types with arguments of type GameInstanceModifier and TypeMethodDescriptionGamesUpdateEvent.getGamesToPlay()
Get the list of games to playConstructors in rea.events with parameters of type GameInstanceModifierConstructorDescriptionGameChangedEvent
(GameInstance gameInstance) Create a game changed event.Constructor parameters in rea.events with type arguments of type GameInstanceModifierConstructorDescriptionGamesUpdateEvent
(List<GameInstance> gamesToPlay) Create a games update event with a list of games to play -
Uses of GameInstance in rea.gaming
Methods in rea.gaming with parameters of type GameInstanceModifier and TypeMethodDescription(package private) void
GameEventSource.broadcastGameChanged
(GameInstance gameInstance) Broadcast major game changes to all registered listeners.