public void Draw(AnimationCollection animationCollection, Vector2 position, Color color) { if (animationCollection.Length <= 0) { return; } Draw(animationCollection.GetCurrent(), position, color); }
public void Draw(AnimationCollection animationCollection, Rectangle destinationRectangle, Color color) { if (animationCollection.Length <= 0) { return; } Draw(animationCollection.GetCurrent(), destinationRectangle, color); }
public void Draw(AnimationCollection animationCollection, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth) { if (animationCollection.Length <= 0) { return; } Draw(animationCollection.GetCurrent(), position, color, rotation, origin, scale, effects, layerDepth); }
public void Draw(AnimationCollection animationCollection, Rectangle destinationRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth) { if (animationCollection.Length <= 0) { return; } Draw(animationCollection.GetCurrent(), destinationRectangle, color, rotation, origin, effects, layerDepth); }
public Texture2D Current() { return(animations.GetCurrent().GetCurrentTexture()); }