From Tom Jolly, added method for getting the number of frames.

This commit is contained in:
Robert Osfield
2005-06-20 10:38:39 +00:00
parent 7453711267
commit 34be5166ff

View File

@@ -44,6 +44,9 @@ public :
/** Get time for child. */
float getTime(int frame) const;
/** Get number of frames */
inline unsigned int getNumFrames() const { return _frameTime.size(); }
/** Interval modes. 'Loop' repeats frames 1-N; 'swing' repeats 1->N, (N-1)->1. */
enum LoopMode
{