Semi Mod Loader
Static Public Member Functions | Public Attributes | List of all members
Semi.SpriteAnimationFrame Struct Reference

Wrapper struct for tk2dSpriteAnimationFrame that provides a cleaner interface and works transparently with anything that expects tk2dSpriteAnimationFrames. More...

Static Public Member Functions

static implicit operator tk2dSpriteAnimationFrame (SpriteAnimationFrame s)
 Implicit cast operator that allows you to use SpriteAnimationFrame anywhere where tk2dSpriteAnimationFrame is expected. More...
 
static SpriteAnimationFrame Construct (SpriteCollection coll, string definition)
 Constructs a new sprite animation frame. More...
 

Public Attributes

tk2dSpriteAnimationFrame Wrap
 Real tk2d object. More...
 

Detailed Description

Wrapper struct for tk2dSpriteAnimationFrame that provides a cleaner interface and works transparently with anything that expects tk2dSpriteAnimationFrames.

Member Function Documentation

◆ Construct()

static SpriteAnimationFrame Semi.SpriteAnimationFrame.Construct ( SpriteCollection  coll,
string  definition 
)
inlinestatic

Constructs a new sprite animation frame.

Returns
The new sprite animation frame.
Parameters
collSprite collection that this frame takes the sprite from.
definitionID of the definition within the collection.

◆ operator tk2dSpriteAnimationFrame()

static implicit Semi.SpriteAnimationFrame.operator tk2dSpriteAnimationFrame ( SpriteAnimationFrame  s)
static

Implicit cast operator that allows you to use SpriteAnimationFrame anywhere where tk2dSpriteAnimationFrame is expected.

Member Data Documentation

◆ Wrap

tk2dSpriteAnimationFrame Semi.SpriteAnimationFrame.Wrap

Real tk2d object.


The documentation for this struct was generated from the following file: