Sprite

open class Sprite

Created by pedro on 17/11/17. Sprite is drawn from top left of the image. Sprite positions in screen: 0,0 100,0 ________ | | | | | Screen | | | |________| 0,100 100,100

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var rotation: Int
Link copied to clipboard
open val scale: PointF

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun scale(deltaX: Float, deltaY: Float)
Link copied to clipboard
open fun translate(translation: TranslateTo)
open fun translate(deltaX: Float, deltaY: Float)