Public Member Functions | |
Sprite<?> | createSprite (Entity entity) |
Static Public Member Functions | |
static Sprites | getInstance () |
Package Functions | |
List< Sprite<?extends Entity > > | getSprites () |
Contains static methods for adding new sprites.
Definition at line 18 of file Sprites.java.
Sprite<?> bubolo.graphics.Sprites.createSprite | ( | Entity | entity | ) |
Creates a new sprite based on the type of entity provided.
entity | reference to an entity. |
Definition at line 63 of file Sprites.java.
|
static |
Returns the instance of this singleton.
Definition at line 30 of file Sprites.java.
|
package |
Returns a reference to the list of sprites. Package-private because this method should not be accessed outside of the Graphics system.
Definition at line 52 of file Sprites.java.