Package com.nevergarden.myna.display
Class Sprite
- java.lang.Object
-
- com.nevergarden.myna.events.EventDispatcher
-
- com.nevergarden.myna.display.DisplayObject
-
- com.nevergarden.myna.display.Quad
-
- com.nevergarden.myna.display.Sprite
-
-
Field Summary
-
Fields inherited from class com.nevergarden.myna.display.Quad
color, height, modelMatrix, width
-
Fields inherited from class com.nevergarden.myna.display.DisplayObject
parent, pivot, position, rotation, scale, transform
-
Fields inherited from class com.nevergarden.myna.events.EventDispatcher
eventListeners
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(int frame)
Draws the drawable on the given frame.-
Methods inherited from class com.nevergarden.myna.display.Quad
recalculateMatrix
-
Methods inherited from class com.nevergarden.myna.display.DisplayObject
getPosition, removeFromParent, rotate, setLocalX, setLocalY, setParent, setPivot, setPivotX, setPivotY, setPosition, setRotation, setScale, setScaleX, setScaleY
-
Methods inherited from class com.nevergarden.myna.events.EventDispatcher
addEventListener, dispatchEvent, dispatchEventWith, dispatchEventWith, dispose, hasEventListener, invokeEvent, removeEventListener, removeEventListeners
-
-