varollo.asepriteimporter.mg.drawframecounter - Varollo/aseprite-importer GitHub Wiki
Namespace: Varollo.AsepriteImporter.MG
Counter used by a AsepriteAnimator.
Count changes during the method,
Counts Draw calls.
public class DrawFrameCounter : DrawCounterBase, IAnimationCounter, Microsoft.Xna.Framework.IGameComponent, Microsoft.Xna.Framework.IDrawable
Inheritance Object → DrawCounterBase → DrawFrameCounter
Implements IAnimationCounter, IGameComponent, IDrawable
public int DrawOrder { get; }
public bool Visible { get; }
public DrawFrameCounter(Game game, int drawOrder)
game
Game
drawOrder
Int32
public DrawFrameCounter(GameComponentCollection components, int drawOrder)
components
GameComponentCollection
drawOrder
Int32
protected double Count(GameTime gameTime)
gameTime
GameTime
public event EventHandler<EventArgs> DrawOrderChanged;
public event EventHandler<EventArgs> VisibleChanged;