Table of Contents

Interface IAnimation

Namespace
SharpConsoleUI.Animation
Assembly
SharpConsoleUI.dll

Represents an active animation that can be updated and cancelled.

public interface IAnimation
Extension Methods

Properties

IsComplete

Whether the animation has finished or been cancelled.

bool IsComplete { get; }

Property Value

bool

Methods

Cancel()

Cancels the animation, marking it as complete.

void Cancel()

Update(TimeSpan)

Advances the animation by the given delta time.

void Update(TimeSpan deltaTime)

Parameters

deltaTime TimeSpan