Enum sprite::AnimationState [] [src]

pub enum AnimationState {
    Move(f64ScalarScalarScalarScalarf64),
    Rotate(f64ScalarScalarf64),
    Scale(f64ScalarScalarScalarScalarf64),
    Flip(boolbool),
    Visibility(bool),
    Blink(f64f64usizeusize),
    Fade(f64f64f64f64),
    Ease(EaseFunctionBox<AnimationState>),
}

The state of animation

Variants

time, begin_x, begin_y, change_x, change_y, duration

time, begin, change, duration

time, begin_x, begin_y, change_x, change_y, duration

flip_x, flip_y

visible

past_time, duration, blinked_times, total_times

time, begin, change, duration

ease_function, animation

Methods

impl AnimationState
[src]

[src]

Update the state and change the sprite's properties

Trait Implementations

impl Clone for AnimationState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more