Modifier and Type | Class and Description |
---|---|
class |
Group
A collections of
Entity objects. |
class |
Label
A structure to store and display text.
|
class |
Sprite
Sprites represent game world entities: characters, environment, items, obstacles, etc.
|
class |
Tile
A small rectangular image used in a
TileMap . |
class |
TileMap
A selection and arrangement of
Tile s
that corresponds to an image of the game world environment
and data that corresponds to placement of game world entities. |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Entity> |
Group.list
The collection underlying this list.
|
Modifier and Type | Method and Description |
---|---|
Entity |
Group.get(int index)
Retrieve a single Entity instance from this collection.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Entity> |
Group.list()
Retrieve a (shallow) copy of this list.
|
Modifier and Type | Method and Description |
---|---|
void |
Group.addEntity(Entity e)
Add an
Entity to this collection. |
void |
Group.removeEntity(Entity e)
Remove an
Entity from this collection. |