toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.view
/
SpriteAnimation
Sprite
Animation
class
SpriteAnimation
(
val
sprites
:
List
<
BmpSlice
>
,
val
defaultTimePerFrame
:
TimeSpan
=
TimeSpan.NIL
)
:
Collection
<
BmpSlice
>
Members
Constructors
Sprite
Animation
Link copied to clipboard
constructor
(
sprites
:
List
<
BmpSlice
>
,
defaultTimePerFrame
:
TimeSpan
=
TimeSpan.NIL
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
default
Time
Per
Frame
Link copied to clipboard
val
defaultTimePerFrame
:
TimeSpan
first
Sprite
Link copied to clipboard
val
firstSprite
:
BmpSlice
size
Link copied to clipboard
open
override
val
size
:
Int
sprites
Link copied to clipboard
val
sprites
:
List
<
BmpSlice
>
sprite
Stack
Size
Link copied to clipboard
val
spriteStackSize
:
Int
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
BmpSlice
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
BmpSlice
>
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
index
:
Int
)
:
RectSlice
<
out
Bitmap
>
get
Sprite
Link copied to clipboard
fun
getSprite
(
index
:
Int
)
:
BmpSlice
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
BmpSlice
>