Class Sprite
java.lang.Object
com.codingame.gameengine.module.entities.Entity<T>
com.codingame.gameengine.module.entities.BlendableEntity<T>
com.codingame.gameengine.module.entities.TextureBasedEntity<T>
com.codingame.gameengine.module.entities.SpriteBasedEntity<Sprite>
com.codingame.gameengine.module.entities.Sprite
- All Implemented Interfaces:
Mask
A Sprite is a graphical entity which displays an image. That image must be loaded into the viewer's texture cache, which you can configure by
adding files to the
assets
folder of your game's project.-
Nested Class Summary
Nested classes/interfaces inherited from class com.codingame.gameengine.module.entities.BlendableEntity
BlendableEntity.BlendMode
-
Constructor Summary
-
Method Summary
Methods inherited from class com.codingame.gameengine.module.entities.SpriteBasedEntity
getBaseHeight, getBaseWidth, getImage, getScaleMode, setBaseHeight, setBaseWidth, setImage, setScaleMode
Methods inherited from class com.codingame.gameengine.module.entities.TextureBasedEntity
getAnchorX, getAnchorY, getTint, setAnchor, setAnchorX, setAnchorX, setAnchorY, setAnchorY, setTint, setTint
Methods inherited from class com.codingame.gameengine.module.entities.BlendableEntity
getBlendMode, setBlendMode
Methods inherited from class com.codingame.gameengine.module.entities.Entity
getAlpha, getId, getMask, getParent, getRotation, getScaleX, getScaleY, getSkewX, getSkewY, getX, getY, getZIndex, isVisible, requireValidAlpha, requireValidColor, self, set, set, setAlpha, setAlpha, setMask, setMask, setRotation, setRotation, setScale, setScale, setScaleX, setScaleX, setScaleY, setScaleY, setSkewX, setSkewX, setSkewY, setSkewY, setVisible, setX, setX, setY, setY, setZIndex
-
Constructor Details
-
Sprite
public Sprite()
-