Sprite

constructor(bitmap: Bitmap, anchor: Anchor = Anchor.TOP_LEFT, hitShape: VectorPath? = null, smoothing: Boolean = true)
constructor(initialAnimation: SpriteAnimation, anchor: Anchor = Anchor.TOP_LEFT, hitShape: VectorPath? = null, smoothing: Boolean = true)


constructor(bitmap: BmpSlice = Bitmaps.white, anchor: Anchor = Anchor.TOP_LEFT, hitShape: VectorPath? = null, smoothing: Boolean = true)

It is possible to initialize a Sprite with a static Bitmap or BmpSlice. This will be exchanged when starting a SpriteAnimation with one of the available play functions