Package | Description |
---|---|
com.codingame.gameengine.module.entities |
Modifier and Type | Class and Description |
---|---|
class |
Entity<T extends Entity<?>>
A graphical entity, displayed on screen in the game's replay.
|
Modifier and Type | Class and Description |
---|---|
class |
Circle
A Circle specifies an area in a the
world defined by the Circle's center point (x,y) and its radius. |
class |
Group
A Group is an Entity which acts as a container for other entities.
|
class |
Line
Represents a line segment from (x,y) to (x2,y2) in world units.
|
class |
Rectangle
A Rectangle specifies an area in a the
world enclosed by the Rectangle's upper-left point (x,y), its width, and its height. |
class |
Sprite
A Sprite is a graphical entity which displays an image.
|
class |
SpriteAnimation
A
SpriteAnimation is a graphical entity which displays a sequence of images. |
class |
Text
Represents a label on screen.
|
Modifier and Type | Method and Description |
---|---|
void |
Group.add(Entity<?>... entities)
Adds the given
Entity instances to this Group . |
void |
GraphicEntityModule.commitEntityState(double t,
Entity<?>... entities)
This entity's graphical counterpart, at instant t of the frame being computed, will have the same properties as the java object as it is now.
|
Group |
GraphicEntityModule.createGroup(Entity<?>... entities)
Creates a new Group entity, its graphical counterpart will be created on the frame currently being computed.
|
void |
Group.remove(Entity<?> entity)
Separates the given entity from this
Group . |