- GameContainer - Class in org.mini2Dx.core.game
-
Base class for mini2Dx game containers.
- GameContainer() - Constructor for class org.mini2Dx.core.game.GameContainer
-
- GameScreen - Interface in org.mini2Dx.core.screen
-
A common interface to game screen implementations
- getBackgroundColor() - Method in class org.mini2Dx.core.graphics.Graphics
-
Returns the background Color
- getBean(Class<T>) - Static method in class org.mini2Dx.injection.SingletonBeanRepository
-
- getCenterX() - Method in class org.mini2Dx.core.geom.Rectangle
-
Returns the center x coordinate of the
Rectangle
- getCenterY() - Method in class org.mini2Dx.core.geom.Rectangle
-
Returns the center y coordiante of the
Rectangle
- getCircleTexture(Color, int, int) - Method in class org.mini2Dx.core.graphics.ShapeTextureCache
-
Returns a circle texture for the provided Color
- getColor() - Method in class org.mini2Dx.core.graphics.Graphics
-
Returns the Color to draw shapes with
- getCurrentFrame() - Method in class org.mini2Dx.core.graphics.Animation
-
Returns the T of the current frame
- getCurrentFrameIndex() - Method in class org.mini2Dx.core.graphics.Animation
-
Returns the index of the current frame
- getFilledCircleTexture(Color, int) - Method in class org.mini2Dx.core.graphics.ShapeTextureCache
-
Returns a filled circular texture for the provided Color
- getFilledRectangleTexture(Color) - Method in class org.mini2Dx.core.graphics.ShapeTextureCache
-
Returns a filled rectangular texture for the provided Color
- getFirstGid() - Method in class org.mini2Dx.tiled.Tileset
-
- getFont() - Method in class org.mini2Dx.core.graphics.Graphics
-
Returns the
BitmapFont to draw
Strings with
- getGid() - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the GID of this object
- getHeight() - Method in class org.mini2Dx.core.game.GameContainer
-
- getHeight() - Method in class org.mini2Dx.tiled.TiledMap
-
Returns the height of the map in tiles
- getHeight() - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the height of this object in pixels
- getHeight() - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Returns the height of the group in tiles
- getHeight() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the height of this tileset in pixels
- getHeightInTiles() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the height of this tileset in tiles
- getId() - Method in interface org.mini2Dx.core.screen.GameScreen
-
Returns the identifier of the screen
- getInitialScreenId() - Method in class org.mini2Dx.core.game.ScreenBasedGame
-
Returns the identifier of the
GameScreen that should be shown
when the game starts
- getLayerIndex(String) - Method in class org.mini2Dx.tiled.TiledMap
-
Returns the index of the
TileLayer with the given name
- getLineHeight() - Method in class org.mini2Dx.core.graphics.Graphics
-
Returns the line height used
- getMargin() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the margin at the borders of the tileset
- getMaxX() - Method in class org.mini2Dx.core.geom.Rectangle
-
Returns the x coordinate of the right side of this
Rectangle
- getMaxY() - Method in class org.mini2Dx.core.geom.Rectangle
-
Returns the y coordinate of the bottom side of this
Rectangle
- getName() - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the name of this object
- getName() - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Returns the name of this group
- getName() - Method in class org.mini2Dx.tiled.TileLayer
-
Returns the name of this layer
- getName() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the name of this tileset
- getNumberOfFrames() - Method in class org.mini2Dx.core.graphics.Animation
-
Returns the total number of frames in this animation
- getObjectGroup(String) - Method in class org.mini2Dx.tiled.TiledMap
-
- getObjectGroups() - Method in class org.mini2Dx.tiled.TiledMap
-
- getObjects() - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Returns the objects within this group
- getOrientation() - Method in class org.mini2Dx.tiled.TiledMap
-
- getPolygon() - Method in class org.mini2Dx.tiled.TiledObject
-
- getPolyline() - Method in class org.mini2Dx.tiled.TiledObject
-
- getProperty(String) - Method in class org.mini2Dx.tiled.TiledMap
-
Returns the value of a specified property
- getProperty(String) - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the value of a specified property
- getProperty(String) - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Returns the value of a specified property
- getProperty(String) - Method in class org.mini2Dx.tiled.TileLayer
-
Returns the value of a specified property
- getRectangleTexture(Color, int, int, int) - Method in class org.mini2Dx.core.graphics.ShapeTextureCache
-
Returns a rectangular texture for the provided Color
- getSpacing() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the internal spacing between each tile
- getTileHeight() - Method in class org.mini2Dx.tiled.TiledMap
-
Returns the height of tiles in pixels
- getTileHeight() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the height of each tile in pixels
- getTileId(int, int) - Method in class org.mini2Dx.tiled.TileLayer
-
Returns the tile id at a given coordinate on the layer
- getTileLayer(String) - Method in class org.mini2Dx.tiled.TiledMap
-
- getTileLayers() - Method in class org.mini2Dx.tiled.TiledMap
-
- getTilesetImagePath() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the relative path of the tileset image
- getTilesets() - Method in class org.mini2Dx.tiled.TiledMap
-
- getTileWidth() - Method in class org.mini2Dx.tiled.TiledMap
-
Returns the width of tiles in pixels
- getTileWidth() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the width of each tile in pixels
- getTileX(int) - Method in class org.mini2Dx.tiled.Tileset
-
Returns the x coordinate of a tile within this tileset
- getTileY(int) - Method in class org.mini2Dx.tiled.Tileset
-
Returns the y coordinate of a tile within this tileset
- getTint() - Method in class org.mini2Dx.core.graphics.Graphics
-
Returns the Color tint being applied to all draw operations
- getType() - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the type of this object
- getWidth() - Method in class org.mini2Dx.core.game.GameContainer
-
- getWidth() - Method in class org.mini2Dx.tiled.TiledMap
-
Returns the width of the map in tiles
- getWidth() - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the width of this object in pixels
- getWidth() - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Returns the width of the group in tiles
- getWidth() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the width of this tileset in pixels
- getWidthInTiles() - Method in class org.mini2Dx.tiled.Tileset
-
Returns the width of this tileset in tiles
- getX() - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the x coordinate of this object in pixels
- getY() - Method in class org.mini2Dx.tiled.TiledObject
-
Returns the y coordinate of this object in pixels
- Graphics - Class in org.mini2Dx.core.graphics
-
Implements graphics rendering functionality
- Graphics(SpriteBatch) - Constructor for class org.mini2Dx.core.graphics.Graphics
-
- GraphicsUAT - Class in org.mini2Dx.uats.common
-
- GraphicsUAT() - Constructor for class org.mini2Dx.uats.common.GraphicsUAT
-
- scale(float, float) - Method in class org.mini2Dx.core.graphics.Graphics
-
Scales the canvas
- ScreenBasedGame - Class in org.mini2Dx.core.game
-
- ScreenBasedGame() - Constructor for class org.mini2Dx.core.game.ScreenBasedGame
-
- ScreenManager - Class in org.mini2Dx.core.screen
-
Updates and renders
GameScreens and
Transitions between them
NOTE: Based on Slick implementation by Kevin Glass
- ScreenManager() - Constructor for class org.mini2Dx.core.screen.ScreenManager
-
Constructor
- scrolled(int) - Method in class org.mini2Dx.core.game.BasicGame
-
- set(Rectangle) - Method in class org.mini2Dx.core.geom.Rectangle
-
- set(float, float, float, float) - Method in class org.mini2Dx.core.geom.Rectangle
-
- setBackgroundColor(Color) - Method in class org.mini2Dx.core.graphics.Graphics
-
Sets the background Color to be used
- setCenterX(float) - Method in class org.mini2Dx.core.geom.Rectangle
-
Sets the center x coordinate of the
Rectangle and recalculates
the x and maxX coordinates based on the width of
Rectangle
- setCenterY(float) - Method in class org.mini2Dx.core.geom.Rectangle
-
Sets the center y coordinate of the
Rectangle and recalculates
the y and maxY coordinates based on the height of the
Rectangle
- setColor(Color) - Method in class org.mini2Dx.core.graphics.Graphics
-
Sets the Color to draw shapes with
- setDimensions(int, int) - Method in class org.mini2Dx.tiled.TileLayer
-
Sets the dimensions of this layer
- setFirstGid(int) - Method in class org.mini2Dx.tiled.Tileset
-
- setFont(BitmapFont) - Method in class org.mini2Dx.core.graphics.Graphics
-
Sets the
BitmapFont to draw
Strings with
- setGid(int) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the GID of this object
- setHeight(float) - Method in class org.mini2Dx.core.geom.Rectangle
-
- setHeight(int) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the height of this object in pixels
- setHeight(int) - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Sets the height of the group in tiles
- setHeight(int) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the height of this tileset in pixels
- setLineHeight(int) - Method in class org.mini2Dx.core.graphics.Graphics
-
Sets the line height to be used
- setLooping(boolean) - Method in class org.mini2Dx.core.graphics.Animation
-
Sets if the animation should loop
- setMargin(int) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the margin at the borders of the tileset
- setName(String) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the name of this object
- setName(String) - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Sets the name of this group
- setName(String) - Method in class org.mini2Dx.tiled.TileLayer
-
Sets the name of this layer
- setName(String) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the name of this tileset
- setPolygon(String) - Method in class org.mini2Dx.tiled.TiledObject
-
- setPolyline(String) - Method in class org.mini2Dx.tiled.TiledObject
-
- setProperty(String, String) - Method in class org.mini2Dx.tiled.TiledMap
-
Sets the value of a specified property
- setProperty(String, String) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the value of a specified property
- setProperty(String, String) - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Sets the value of a specified property
- setProperty(String, String) - Method in class org.mini2Dx.tiled.TileLayer
-
Sets the value of a specified property
- setSpacing(int) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the internal spacing between each tile
- setTileHeight(int) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the height of each tile in pixels
- setTileId(int, int, int) - Method in class org.mini2Dx.tiled.TileLayer
-
Sets the tile id at a given coordinate on the layer
- setTilesetImagePath(String) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the relative path of the tileset image
- setTileWidth(int) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the width of each tile in pixels
- setTint(Color) - Method in class org.mini2Dx.core.graphics.Graphics
-
Sets the Color to apply to draw operations
- setType(String) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the type of this object
- setWidth(float) - Method in class org.mini2Dx.core.geom.Rectangle
-
- setWidth(int) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the width of this object in pixels
- setWidth(int) - Method in class org.mini2Dx.tiled.TiledObjectGroup
-
Sets the width of the group in tiles
- setWidth(int) - Method in class org.mini2Dx.tiled.Tileset
-
Sets the width of this tileset in pixels
- setX(float) - Method in class org.mini2Dx.core.geom.Rectangle
-
- setX(int) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the x coordinate of this object in pixels
- setY(float) - Method in class org.mini2Dx.core.geom.Rectangle
-
- setY(int) - Method in class org.mini2Dx.tiled.TiledObject
-
Sets the y coordinate of this object in pixels
- ShapeTextureCache - Class in org.mini2Dx.core.graphics
-
Implements a cache of textures for shapes
- ShapeTextureCache() - Constructor for class org.mini2Dx.core.graphics.ShapeTextureCache
-
Constructor
- show() - Method in class org.mini2Dx.core.game.GameContainer
-
- SingletonBeanRepository - Class in org.mini2Dx.injection
-
A repository for storing and autowiring singletons
To perform any write operations to the repository the open() method must be
called first.
- SingletonBeanRepository() - Constructor for class org.mini2Dx.injection.SingletonBeanRepository
-