Uses of Class
com.codingame.gameengine.module.entities.Entity
Package
Description
-
Uses of Entity in com.codingame.gameengine.module.camera
Modifier and TypeMethodDescriptionvoid
CameraModule.addTrackedEntity
(Entity<?> entity) Make the camera include the entity in its field of viewvoid
CameraModule.removeTrackedEntity
(Entity<?> entity) Make the camera stop tracking this entityvoid
CameraModule.setContainer
(Entity<?> container, int viewerSizeX, int viewerSizeY) Initialize the camera with container which has to contain all the other entities tracked by the camera -
Uses of Entity in com.codingame.gameengine.module.entities
Modifier and TypeClassDescriptionclass
BlendableEntity<T extends Entity<?>>
Any PIXI Entity that can be attributed aBlendMode
.class
ContainerBasedEntity<T extends Entity<?>>
class
A graphical entity, displayed on screen in the game's replay.Modifier and TypeClassDescriptionclass
Represents a label on screen, you can use any bitmap font in your asset folder as it's font.class
BlendableEntity<T extends Entity<?>>
Any PIXI Entity that can be attributed aBlendMode
.class
A BufferedGroup is an Entity which acts as a container for other entities.class
A Circle specifies an area in a theworld
defined by the Circle's center point (x,y) and its radius.class
ContainerBasedEntity<T extends Entity<?>>
class
A Group is an Entity which acts as a container for other entities.class
Represents a line segment from (x,y) to (x2,y2) in world units.class
A Polygon specifies an area in a theworld
defined by a sequence of points.class
A Rectangle specifies an area in a theworld
enclosed by the Rectangle's upper-left point (x,y), its width, and its height.class
A RoundedRectangle specifies an area in a theworld
enclosed by the Rectangle's upper-left point (x,y), its width, and its height.class
Shape<T extends BlendableEntity<?>>
A Shape represents a graphical entity with a fill and a line, both of which have an alpha and color.class
A Sprite is a graphical entity which displays an image.class
ASpriteAnimation
is a graphical entity which displays a sequence of images.class
SpriteBasedEntity<T extends SpriteBasedEntity<?>>
A Sprite is a graphical entity which displays an image.class
Represents a label on screen.class
TextBasedEntity<T extends TextureBasedEntity<?>>
Generic type for entities containing text.class
TextureBasedEntity<T extends BlendableEntity<?>>
Any PIXI Entity based on a texture shares the properties found in thisTextureBasedEntity
.class
A TilingSprite is a graphical entity which displays a tiling image.Modifier and TypeMethodDescriptionvoid
Adds the givenEntity
instances to thisContainerBasedEntity
.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.GraphicEntityModule.createBufferedGroup
(Entity<?>... entities) Creates a new BufferedGroup entity, its graphical counterpart will be created on the frame currently being computed.GraphicEntityModule.createGroup
(Entity<?>... entities) Creates a new Group entity, its graphical counterpart will be created on the frame currently being computed.void
Separates the given entity from thisContainerBasedEntity
. -
Uses of Entity in com.codingame.gameengine.module.toggle
Modifier and TypeMethodDescriptionvoid
ToggleModule.displayOnToggleState
(Entity<?> entity, String toggle, boolean state) Will display the entity only when the toggle state matches the state you set -
Uses of Entity in com.codingame.gameengine.module.tooltip
Modifier and TypeMethodDescriptionTooltipModule.getTooltipText
(Entity<?> entity) void
TooltipModule.removeTooltipText
(Entity<?> entity) Removes the tooltip text linked to the entityvoid
TooltipModule.setTooltipText
(Entity<?> entity, String text) Sets a tooltip text linked to an entity