Skip to content

Commit

Permalink
added getTotalFrames()
Browse files Browse the repository at this point in the history
  • Loading branch information
dscheibel committed Dec 12, 2011
1 parent b4bacd0 commit 896f373
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/TextureSequence.h
Expand Up @@ -27,10 +27,12 @@ class TextureSequence{
void createFromPathList( vector<string> paths );
void createFromTextureList( vector<Texture *> textureList );

int const getPlayheadFrameInc() { return playheadFrameInc; }
int getTotalFrames()const{ return totalFrames; }

int getPlayheadFrameInc() const { return playheadFrameInc; }
void setPlayheadFrameInc( int frames ) { playheadFrameInc = frames; }

int const getPlayheadPosition() { return playheadPosition; }
int getPlayheadPosition() const { return playheadPosition; }
void setPlayheadPosition( int newPosition );

void setLooping( bool doLoop ) { looping = doLoop; }
Expand Down

0 comments on commit 896f373

Please sign in to comment.