Uses of Class
com.codingame.gameengine.module.entities.Entity
Packages that use Entity
Package
Description
-
Uses of Entity in com.codingame.gameengine.module.camera
Methods in com.codingame.gameengine.module.camera with parameters of type EntityModifier and TypeMethodDescriptionvoidCameraModule.addTrackedEntity(Entity<?> entity) Make the camera include the entity in its field of viewvoidCameraModule.removeTrackedEntity(Entity<?> entity) Make the camera stop tracking this entityvoidCameraModule.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
Classes in com.codingame.gameengine.module.entities with type parameters of type EntityModifier and TypeClassDescriptionclassBlendableEntity<T extends Entity<?>>Any PIXI Entity that can be attributed aBlendMode.classContainerBasedEntity<T extends Entity<?>>classA graphical entity, displayed on screen in the game's replay.Subclasses of Entity in com.codingame.gameengine.module.entitiesModifier and TypeClassDescriptionclassRepresents a label on screen, you can use any bitmap font in your asset folder as it's font.classBlendableEntity<T extends Entity<?>>Any PIXI Entity that can be attributed aBlendMode.classA BufferedGroup is an Entity which acts as a container for other entities.classA Circle specifies an area in a theworlddefined by the Circle's center point (x,y) and its radius.classContainerBasedEntity<T extends Entity<?>>classA Group is an Entity which acts as a container for other entities.classRepresents a line segment from (x,y) to (x2,y2) in world units.classA Polygon specifies an area in a theworlddefined by a sequence of points.classA Rectangle specifies an area in a theworldenclosed by the Rectangle's upper-left point (x,y), its width, and its height.classA RoundedRectangle specifies an area in a theworldenclosed by the Rectangle's upper-left point (x,y), its width, and its height.classShape<T extends BlendableEntity<?>>A Shape represents a graphical entity with a fill and a line, both of which have an alpha and color.classA Sprite is a graphical entity which displays an image.classASpriteAnimationis a graphical entity which displays a sequence of images.classSpriteBasedEntity<T extends SpriteBasedEntity<?>>A Sprite is a graphical entity which displays an image.classRepresents a label on screen.classTextBasedEntity<T extends TextureBasedEntity<?>>Generic type for entities containing text.classTextureBasedEntity<T extends BlendableEntity<?>>Any PIXI Entity based on a texture shares the properties found in thisTextureBasedEntity.classA TilingSprite is a graphical entity which displays a tiling image.Methods in com.codingame.gameengine.module.entities with parameters of type EntityModifier and TypeMethodDescriptionvoidAdds the givenEntityinstances to thisContainerBasedEntity.voidGraphicEntityModule.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.voidSeparates the given entity from thisContainerBasedEntity. -
Uses of Entity in com.codingame.gameengine.module.toggle
Methods in com.codingame.gameengine.module.toggle with parameters of type EntityModifier and TypeMethodDescriptionvoidToggleModule.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
Methods in com.codingame.gameengine.module.tooltip with parameters of type EntityModifier and TypeMethodDescriptionTooltipModule.getTooltipText(Entity<?> entity) voidTooltipModule.removeTooltipText(Entity<?> entity) Removes the tooltip text linked to the entityvoidTooltipModule.setTooltipText(Entity<?> entity, String text) Sets a tooltip text linked to an entity