- Game - Class in core.game
-
Created with IntelliJ IDEA.
- Game() - Constructor for class core.game.Game
-
Default constructor.
- game - Variable in class core.VGDLParser
-
Game which description is being read.
- game - Variable in class core.VGDLViewer
-
Reference to the game to be painted.
- Game.Bucket - Class in core.game
-
Class for helping collision detection.
- Game.Bucket() - Constructor for class core.game.Game.Bucket
-
- GameContent - Class in core.content
-
Created with IntelliJ IDEA.
- GameContent() - Constructor for class core.content.GameContent
-
Default constructor.
- GameContent(String) - Constructor for class core.content.GameContent
-
Constructor that extracts the contents from a String line
- gameStep - Variable in class core.game.Event
-
Game step when the event happened.
- gameTick - Variable in class core.game.Game
-
Game tick
- getAllSprites() - Method in class core.game.Game.Bucket
-
- getAmountResource(int) - Method in class core.VGDLSprite
-
Returns the amount of resource of a given type this sprite has.
- getAvailableActions() - Method in class core.game.StateObservation
-
Returns the actions that are available in this game for
the avatar.
- getAvatar() - Method in class core.game.Game
-
Returns the avatar of the game.
- getAvatarActions() - Method in class core.game.ForwardModel
-
Returns the actions that are available in this game for
the avatar.
- getAvatarOrientation() - Method in class core.game.ForwardModel
-
Returns the orientation of the avatar.
- getAvatarOrientation() - Method in class core.game.StateObservation
-
Returns the orientation of the avatar.
- getAvatarPosition() - Method in class core.game.ForwardModel
-
Returns the position of the avatar.
- getAvatarPosition() - Method in class core.game.StateObservation
-
Returns the position of the avatar.
- getAvatarResources() - Method in class core.game.ForwardModel
-
Returns the resources in the avatar's possession.
- getAvatarResources() - Method in class core.game.StateObservation
-
Returns the resources in the avatar's possession.
- getAvatarSpeed() - Method in class core.game.ForwardModel
-
Returns the speed of the avatar.
- getAvatarSpeed() - Method in class core.game.StateObservation
-
Returns the speed of the avatar.
- getBlockSize() - Method in class core.game.ForwardModel
-
Indicates how many pixels form a block in the game.
- getBlockSize() - Method in class core.game.StateObservation
-
Indicates how many pixels form a block in the game.
- getCharMapping() - Method in class core.game.Game
-
Returns the char mapping of this array, that relates characters in the level with
sprite names that it references.
- getCollisionEffects(int, int) - Method in class core.game.Game
-
Gets the array of collisions defined for two types of sprites.
- getDefinedEffects() - Method in class core.game.Game
-
Returns all paired effects defined in the game.
- getDefinedEosEffects() - Method in class core.game.Game
-
Returns the list of sprite type with at least one EOS effect defined.
- getEosEffects(int) - Method in class core.game.Game
-
Returns all EOS effects defined in the game.
- getEventsHistory() - Method in class core.game.ForwardModel
-
Returns the list of historic events happened in this game so far.
- getEventsHistory() - Method in class core.game.StateObservation
-
This method retrieves a list of events that happened so far in the game.
- getFirstSprite() - Method in class core.SpriteGroup
-
Gets the first sprite of this collection, or null if it is empty
- getFromAvatarSpPositions(Vector2d) - Method in class core.game.ForwardModel
-
Returns a list of observations of objects created by the avatar's actions.
- getFromAvatarSpritesPositions() - Method in class core.game.StateObservation
-
Returns a list of observations of sprites created by the avatar (usually, by applying the
action Types.ACTIONS.ACTION_USE).
- getFromAvatarSpritesPositions(Vector2d) - Method in class core.game.StateObservation
-
Returns a list of observations of sprites created by the avatar (usually, by applying the
action Types.ACTIONS.ACTION_USE).
- getGameScore() - Method in class core.game.ForwardModel
-
Gets the game score of this state.
- getGameScore() - Method in class core.game.StateObservation
-
Gets the score of the game at this observation.
- getGameTick() - Method in class core.game.ForwardModel
-
Gets the current game tick of this particular state.
- getGameTick() - Method in class core.game.Game
-
Returns the current game tick of this game.
- getGameTick() - Method in class core.game.StateObservation
-
Returns the game tick of this particular observation.
- getGameWinner() - Method in class core.game.ForwardModel
-
Indicates if there is a game winner in the current observation.
- getGameWinner() - Method in class core.game.StateObservation
-
Indicates if there is a game winner in the current observation.
- getImmovablePositions(Vector2d) - Method in class core.game.ForwardModel
-
Observations of static objects in the game.
- getImmovablePositions() - Method in class core.game.StateObservation
-
Returns a list of observations of immovable sprites in the game.
- getImmovablePositions(Vector2d) - Method in class core.game.StateObservation
-
Returns a list of observations of immovable sprites in the game.
- GetInstance() - Static method in class core.VGDLFactory
-
Returns the unique instance of this class.
- GetInstance() - Static method in class core.VGDLRegistry
-
Returns the unique instance of this class.
- getItype() - Method in class core.SpriteGroup
-
Gets the type of this SpriteGroup.
- getKey() - Method in enum ontology.Types.ACTIONS
-
- getKey() - Method in class tools.Pair
-
- getKeys() - Method in class core.SpriteGroup
-
Gets the set of KEYs in an array.
- getLastAction() - Method in class core.player.AbstractPlayer
-
Gets the last action executed by this controller.
- getMask() - Method in class tools.KeyInput
-
- getMovablePositions(Vector2d) - Method in class core.game.ForwardModel
-
Returns a list with observations of sprites that move, but are NOT NPCs.
- getMovablePositions() - Method in class core.game.StateObservation
-
Returns a list of observations of sprites that move, but are NOT NPCs in the game.
- getMovablePositions(Vector2d) - Method in class core.game.StateObservation
-
Returns a list of observations of movable (not NPCs) sprites in the game.
- getNPCPositions(Vector2d) - Method in class core.game.ForwardModel
-
Returns a list of observations of NPC in the game.
- getNPCPositions() - Method in class core.game.StateObservation
-
Returns a list of observations of NPC in the game.
- getNPCPositions(Vector2d) - Method in class core.game.StateObservation
-
Returns a list of observations of NPC in the game.
- getNumSprites(int) - Method in class core.game.Game
-
Returns the number of sprites of the type given by parameter, and all its subtypes
- getObservation() - Method in class core.game.Game
-
Retuns the observation of this state.
- getObservationGrid() - Method in class core.game.ForwardModel
-
Returns a grid with all observations in the level.
- getObservationGrid() - Method in class core.game.StateObservation
-
Returns a grid with all observations in the level, accessible by the x,y coordinates
of the grid.
- getPortalsPositions(Vector2d) - Method in class core.game.ForwardModel
-
- getPortalsPositions() - Method in class core.game.StateObservation
-
Returns a list of observations of portals in the game.
- getPortalsPositions(Vector2d) - Method in class core.game.StateObservation
-
Returns a list of observations of portals in the game.
- getPosition() - Method in class core.VGDLSprite
-
Gets the position of this sprite.
- getPreferredSize() - Method in class core.VGDLViewer
-
Gets the dimensions of the window.
- getRandomGenerator() - Method in class core.game.ForwardModel
-
Returns the sampleRandom generator of this forward model.
- getRandomGenerator() - Method in class core.game.Game
-
Returns the sampleRandom object
- getRegisteredSpriteKey(int) - Method in class core.VGDLRegistry
-
Returns the String associated with the first (and in theory, unique) sprite value passed.
- getRegisteredSpriteValue(String) - Method in class core.VGDLRegistry
-
Returns the index (value in map) of a given key, for sprites.
- getResourceColor(int) - Method in class core.game.Game
-
Gets the color of the resource of type resourceId
- getResourceLimit(int) - Method in class core.game.Game
-
Gets the maximum amount of resources of type resourceId that are allowed by entities in the game.
- getResourcesPositions(Vector2d) - Method in class core.game.ForwardModel
-
- getResourcesPositions() - Method in class core.game.StateObservation
-
Returns a list of observations of resources in the game.
- getResourcesPositions(Vector2d) - Method in class core.game.StateObservation
-
Returns a list of observations of resources in the game.
- getRoot() - Method in class core.Node
-
Returns the root of the tree structure
- getScreenSize() - Method in class core.game.Game
-
Gets the dimensions of the screen.
- getSprite(int) - Method in class core.SpriteGroup
-
Retrieves a sprite given its unique ID.
- getSpriteGroup(int) - Method in class core.game.Game
-
Gets an iterator for the collection of sprites for a particular sprite type.
- getSpriteIterator() - Method in class core.SpriteGroup
-
Gets an ordered iterator through all sprites.
- getSpriteList() - Method in class core.game.Game.Bucket
-
- getSpriteOrder() - Method in class core.game.Game
-
Gets the order in which the sprites are drawn.
- getSprites(int) - Method in class core.game.Game
-
Gets the collection of sprites for a particular sprite type.
- getSprites() - Method in class core.SpriteGroup
-
Gets the collection of sprites, as a TreeMap [KEY => VALUE].
- getTerminations() - Method in class core.game.Game
-
Gets the array of termination conditions for this game.
- getType() - Method in class core.VGDLSprite
-
Gets the unique and precise type of this sprite
- getValue() - Method in class tools.Pair
-
- getWinner() - Method in class core.game.Game
-
Returns the winner of this game.
- getWorldDimension() - Method in class core.game.ForwardModel
-
Returns the world dimensions, in pixels.
- getWorldDimension() - Method in class core.game.StateObservation
-
Returns the world dimensions, in pixels.
- GOLD - Static variable in class ontology.Types
-
- gravity - Variable in class ontology.physics.ContinuousPhysics
-
Gravity of the physics
- GravityPhysics - Class in ontology.physics
-
Created with IntelliJ IDEA.
- GravityPhysics() - Constructor for class ontology.physics.GravityPhysics
-
- GRAY - Static variable in class ontology.Types
-
- GREEN - Static variable in class ontology.Types
-
- grid - Variable in class controllers.sampleRandom.Agent
-
Observation grid.
- GridPhysics - Class in ontology.physics
-
Created with IntelliJ IDEA.
- GridPhysics() - Constructor for class ontology.physics.GridPhysics
-
Default constructor, gridsize will be 10x10
- GridPhysics(Dimension) - Constructor for class ontology.physics.GridPhysics
-
Constructor of the physics, specifying the gridsize
- gridsize - Variable in class ontology.physics.GridPhysics
-
Size of the grid.