varollo.asepriteimporter.mg.drawtimecounter - Varollo/aseprite-importer GitHub Wiki

< Back


DrawTimeCounter

Namespace: Varollo.AsepriteImporter.MG

Counter used by a AsepriteAnimator.
Count changes during the method, Counts time in [milliseconds]

public class DrawTimeCounter : DrawCounterBase, IAnimationCounter, Microsoft.Xna.Framework.IGameComponent, Microsoft.Xna.Framework.IDrawable

Inheritance ObjectDrawCounterBaseDrawTimeCounter
Implements IAnimationCounter, IGameComponent, IDrawable

Properties

DrawOrder

public int DrawOrder { get; }

Property Value

Int32

Visible

public bool Visible { get; }

Property Value

Boolean

Constructors

DrawTimeCounter(Game, Int32)

public DrawTimeCounter(Game game, int drawOrder)

Parameters

game Game

drawOrder Int32

DrawTimeCounter(GameComponentCollection, Int32)

public DrawTimeCounter(GameComponentCollection components, int drawOrder)

Parameters

components GameComponentCollection

drawOrder Int32

Methods

Count(GameTime)

protected double Count(GameTime gameTime)

Parameters

gameTime GameTime

Returns

Double

Events

DrawOrderChanged

public event EventHandler<EventArgs> DrawOrderChanged;

VisibleChanged

public event EventHandler<EventArgs> VisibleChanged;

< Back

⚠️ **GitHub.com Fallback** ⚠️