tk2dSpriteAnimationFrame Class Reference

Defines an animation frame and associated data. More...

List of all members.

Public Attributes

tk2dSpriteCollectionData spriteCollection
 The sprite collection.
int spriteId
 The sprite identifier.
bool triggerEvent = false
 When true will trigger an animation event when this frame is displayed.
string eventInfo = ""
 Custom event data (string)
int eventInt = 0
 Custom event data (int)
float eventFloat = 0.0f
 Custom event data (float)

Detailed Description

Defines an animation frame and associated data.


Member Data Documentation

Custom event data (float)

Custom event data (string)

Custom event data (int)

The sprite identifier.

When true will trigger an animation event when this frame is displayed.