Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- gameChanged - Variable in class rea.gaming.GameEventSource
-
The listeners registered to receive game changed events.
- GameChangedEvent - Class in rea.events
-
Event that indicates that a game instance has changed.
- GameChangedEvent(GameInstance) - Constructor for class rea.events.GameChangedEvent
-
Create a game changed event.
- gamedEnded(GameMap) - Method in interface rea.gameplay.Gameplay
-
Check if the game has ended.
- gamedEnded(GameMap) - Method in class rea.gameplay.games.EasterEggRace
-
Game ends when there are no more eggs to collect
- gamedEnded(GameMap) - Method in class rea.gameplay.games.TreasureHunt
-
Game ends when there is a passage (house with open door) and there are no items left (tresure was collected).
- GameEventSource - Class in rea.gaming
-
Source of game related events.
- GameEventSource() - Constructor for class rea.gaming.GameEventSource
-
Create an instance of this class.
- GameInstance - Class in rea.gaming
-
A single instance of a role playing game with given gameplay and players.
- GameInstance(Gameplay) - Constructor for class rea.gaming.GameInstance
-
Create a game instance with a given gameplay
- GameMap - Class in rea.components
-
The game map.
- GameMap(Place) - Constructor for class rea.components.GameMap
-
Create a game map with a start place.
- Gameplay - Interface in rea.gameplay
-
Abstract definition of a gameplay in REA.
- GAMEPLAY_PACKAGE - Static variable in class rea.gameplay.GameplayFactory
-
Default package name to lookup gameplay: the games subpackage of the gameplay package.
- GameplayFactory - Class in rea.gameplay
-
A factory for creating
Gameplay
instances. - GameplayFactory() - Constructor for class rea.gameplay.GameplayFactory
-
Create a factory for gameplays.
- GameplayFactory(String) - Constructor for class rea.gameplay.GameplayFactory
-
Create a factory for gameplays in a given package.
- GameStage - Enum Class in rea.gaming
-
The game stage.
- GamesUpdateEvent - Class in rea.events
-
An event that is sent to the client to update the list of games to play.
- GamesUpdateEvent(List<GameInstance>) - Constructor for class rea.events.GamesUpdateEvent
-
Create a games update event with a list of games to play
- getAvailableGameplays() - Method in interface rea.gameplay.AbstractGameplayFactory
-
Get the available games in this factory.
- getAvailableGameplays() - Method in class rea.gameplay.GameplayFactory
-
Get the available games in this factory.
- getAvailableGames() - Method in class rea.Manager
-
Get the names available games.
- getAvatarName() - Method in interface rea.components.Avatar
-
The name of the avatar.
- getAvatarName() - Method in enum class rea.gameplay.games.CartoonAvatar
- getAvatars() - Method in interface rea.gameplay.Gameplay
-
The set of avatars that can be used in this game.
- getAvatars() - Method in class rea.gameplay.games.EasterEggRace
-
The avatars available for this game: cartoon avatars.
- getAvatars() - Method in class rea.gameplay.games.TreasureHunt
-
The avatars available for this game: cartoon avatars.
- getAvatars() - Method in class rea.gaming.GameInstance
-
Get avatars for players in this game
- getAvatarVisual() - Method in interface rea.components.Avatar
-
The visual representation of the avatar.
- getAvatarVisual() - Method in enum class rea.gameplay.games.CartoonAvatar
- getBackground() - Method in class rea.events.SceneUpdateEvent
-
Background of this scene, representing a place
- getChange(Positionable, Item) - Method in class rea.components.GameMap
-
Get the change that may be performed on a positionable object in the game.
- getCharacter() - Method in class rea.gaming.Player
-
Get the character associated with this player
- getCharacters() - Method in class rea.components.Place
-
Get the characters in this place.
- getCharacters() - Method in class rea.gameplay.games.SimpleVisitor
-
The set of players in the map.
- getClassName(Path) - Method in class rea.gameplay.GameplayFactory
-
Get the class name from a path.
- getCurrentStage() - Method in class rea.gaming.GameInstance
-
Get the current stage of the game
- getDescription() - Method in class rea.components.Component
-
Get the description of the component.
- getDescription() - Method in interface rea.gameplay.Gameplay
-
A long description of the game.
- getDescription() - Method in class rea.gameplay.games.EasterEggRace
- getDescription() - Method in class rea.gameplay.games.TreasureHunt
- getEntrance() - Method in class rea.components.Place
-
The entrance to this place.
- getGameInstance() - Method in class rea.events.GameChangedEvent
-
Get the game instance that changed.
- getGameInstances() - Method in class rea.Manager
-
Get all the game instances.
- getGameMap() - Method in class rea.gaming.GameInstance
-
The game map used by this game instance.
- getGameplay(String) - Method in interface rea.gameplay.AbstractGameplayFactory
-
Get the gameplay for a game with a given name.
- getGameplay(String) - Method in class rea.gameplay.GameplayFactory
-
Get the gameplay for a game with a given name.
- getGameplayFactory() - Method in class rea.Manager
-
Get the gameplay factory.
- getGameplayInstance(String) - Method in class rea.gameplay.GameplayFactory
-
Get an instance of a class with the given name.
- getGamesInstancesAboutToStart() - Method in class rea.Manager
-
Get the games instances about to start.
- getGamesToPlay() - Method in class rea.events.GamesUpdateEvent
-
Get the list of games to play
- getHeight() - Method in class rea.components.Visual
-
The height in pixels to which the image should be scaled
- getHolding() - Method in class rea.components.Character
-
Get the item being held.
- getHolding() - Method in class rea.events.InventoryUpdateEvent
-
Get the item the player is holding
- getInstance() - Static method in class rea.Manager
-
Get the instance of the game instance pool.
- getInventory() - Method in class rea.components.Character
-
Get the inventory, the items the character is carrying.
- getInventory() - Method in class rea.events.InventoryUpdateEvent
-
Get the player's inventory
- getItems() - Method in class rea.components.Place
-
Get the items in this place.
- getItems() - Method in class rea.gameplay.games.SimpleVisitor
-
The set of items in the map.
- getKeepAfterEnd() - Static method in class rea.Manager
-
Get the time in milliseconds to keep a game instance after it has ended.
- getListeners() - Method in class rea.events.EventBroadcast
-
Get all the currently registered listeners.
- getListeners() - Method in class rea.events.EventMulticast
-
Get all the currently registered listeners.
- getMaxPlayers() - Method in interface rea.gameplay.Gameplay
-
Maximum number of players acepted in this game
- getMaxPlayers() - Method in class rea.gameplay.games.EasterEggRace
-
Only a single player
- getMaxPlayers() - Method in class rea.gameplay.games.TreasureHunt
-
Can have up to 2 players
- getMessage() - Method in class rea.events.MessageUpdateEvent
-
The message to deliver
- getMinPlayers() - Method in interface rea.gameplay.Gameplay
-
Minimum number of players acepted in this game
- getMinPlayers() - Method in class rea.gameplay.games.EasterEggRace
-
At least 1 player is required
- getMinPlayers() - Method in class rea.gameplay.games.TreasureHunt
-
At least 1 player is required
- getName() - Method in class rea.components.Character
-
Get the name of the character.
- getName() - Method in interface rea.gameplay.Gameplay
-
The name of the game as a short string.
- getName() - Method in class rea.gameplay.games.EasterEggRace
- getName() - Method in class rea.gameplay.games.TreasureHunt
- getName() - Method in class rea.gaming.GameInstance
-
Get the name of the game
- getPassages() - Method in class rea.gameplay.games.SimpleVisitor
-
The set of passages in the map.
- getPathname() - Method in class rea.components.Visual
-
The path to image to be displayed.
- getPlace() - Method in class rea.components.Character
-
Get the place where the character is currently in.
- getPlace() - Method in class rea.components.Passage
-
The place to which this passage leads.
- getPlaces() - Method in class rea.gameplay.games.SimpleVisitor
-
The set places in the map.
- getPlayerCount() - Method in class rea.gaming.GameInstance
-
Number of players currently in the game
- getPlayingSince() - Method in class rea.gaming.GameInstance
-
Get time when the game started.
- getPlayingUntil() - Method in class rea.gaming.GameInstance
-
Get the time when the game ended.
- getPosition() - Method in class rea.components.Positionable
-
The position of the object in the place.
- getPositionables() - Method in class rea.components.Place
-
Get the list of game positionable components in this place.
- getPositionables() - Method in class rea.events.SceneUpdateEvent
-
Positionables in this scene
- getSpeaker() - Method in class rea.events.MessageUpdateEvent
-
The character that uttered the message.
- getStartPlace() - Method in class rea.components.GameMap
-
Get the start place of the game map.
- getTitle() - Method in enum class rea.gaming.Action
-
Get the action name as a title.
- getVisual() - Method in class rea.components.Component
-
Get the visual representation of the component.
- getWidth() - Method in class rea.components.Visual
-
The width in pixels to which the image should be scaled
- getX() - Method in class rea.components.Position
-
Get the x coordinate of the position.
- getY() - Method in class rea.components.Position
-
Get the y coordinate of the position.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form