|
GTGE API | ||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Background | |
---|---|
com.golden.gamedev.object | This package is the heart of the game, containing objects visible in the game, such as sprite class, background class, etc. |
com.golden.gamedev.object.background | Background implementation. |
com.golden.gamedev.object.background.abstraction | Advanced background abstraction, this package gives a flexible way to create advanced background specific to your game. |
com.golden.gamedev.object.collision | Collision implementation. |
Uses of Background in com.golden.gamedev.object |
---|
Methods in com.golden.gamedev.object that return Background | |
---|---|
Background |
Sprite.getBackground()
Returns the background where this sprite lived. |
Background |
PlayField.getBackground()
Returns background associated with this playfield. |
Background |
SpriteGroup.getBackground()
Returns the background of this group. |
static Background |
Background.getDefaultBackground()
Returns the default background used by every newly created sprite. |
Methods in com.golden.gamedev.object with parameters of type Background | |
---|---|
void |
AdvanceSpriteGroup.setBackground(Background backgr)
|
void |
Sprite.setBackground(Background backgr)
Associates specified background with this sprite. |
void |
PlayField.setBackground(Background backgr)
Associates specified background to this playfield. |
void |
SpriteGroup.setBackground(Background backgr)
Associates specified background with this sprite group, the background will be used by all sprites in this group. |
Constructors in com.golden.gamedev.object with parameters of type Background | |
---|---|
PlayField(Background background)
Constructs new PlayField with specified background. |
Uses of Background in com.golden.gamedev.object.background |
---|
Subclasses of Background in com.golden.gamedev.object.background | |
---|---|
class |
ColorBackground
The very basic background type that only fill the background view port with a single color. |
class |
ImageBackground
Background that use a single image as the background. |
class |
IsometricBackground
The basic isometric background, creates a one layer isometric background. |
class |
ParallaxBackground
ParallaxBackground class is a background composed by several
backgrounds. |
class |
TileBackground
The basic tiling background, creates a one layer background tile. |
Methods in com.golden.gamedev.object.background that return Background | |
---|---|
Background[] |
ParallaxBackground.getParallaxBackground()
Returns the stacked parallax backgrounds. |
Methods in com.golden.gamedev.object.background with parameters of type Background | |
---|---|
void |
ParallaxBackground.setParallaxBackground(Background[] stack)
Sets parallax background stacked backgrounds. |
Constructors in com.golden.gamedev.object.background with parameters of type Background | |
---|---|
ParallaxBackground(Background[] stack)
Creates new ParallaxBackground . |
Uses of Background in com.golden.gamedev.object.background.abstraction |
---|
Subclasses of Background in com.golden.gamedev.object.background.abstraction | |
---|---|
class |
AbstractIsometricBackground
The base abstract class to create isometric background, the subclass need to perform the background tile rendering. |
class |
AbstractTileBackground
The base abstract class to create tiling background, the subclass need to perform the background tile rendering. |
Uses of Background in com.golden.gamedev.object.collision |
---|
Constructors in com.golden.gamedev.object.collision with parameters of type Background | |
---|---|
CollisionBounds(Background backgr)
Creates new CollisionBounds with specified background
as the boundary. |
|
GTGE API | ||||||||
PREV NEXT | FRAMES NO FRAMES |