Class Sprite
- java.lang.Object
-
- net.egartley.beyondorigins.core.graphics.Sprite
-
public class Sprite extends java.lang.Object
A row, or "strip", of individual frames for an entity (they are all the same height and width)- See Also:
SpriteSheet
,Entity
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.newdawn.slick.Image
asImage()
-
-
-
Field Detail
-
frames
public java.util.ArrayList<org.newdawn.slick.Image> frames
All of the possible frames that the sprite could use- See Also:
AnimatedEntity
,StaticEntity
-
width
public int width
Width in pixels
-
height
public int height
Height in pixels
-
-