diff options
Diffstat (limited to 'vfg/src/Puppet.h')
| -rwxr-xr-x | vfg/src/Puppet.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/vfg/src/Puppet.h b/vfg/src/Puppet.h index 91f32fd..e0df87a 100755 --- a/vfg/src/Puppet.h +++ b/vfg/src/Puppet.h @@ -8,7 +8,7 @@ /*
"base" clip will be drawn unless another clip is playing
-TODO: make resolution independent
+TODO: make resolution independent
*/
class Puppet
@@ -16,14 +16,15 @@ class Puppet public:
Puppet();
virtual ~Puppet();
- void load(string filename);
- void play(string clip);
- void draw(float x, float y);
- bool isPlaying();
+ void load(string filename);
+ void play(string clip); + void playNow(string clip);
+ void draw(float x, float y);
+ bool isPlaying();
protected:
private:
- map<string,ofxSprite> clips;
- deque<string> playlist;
+ map<string,ofxSprite> clips;
+ deque<string> playlist;
};
#endif // PUPPET_H
|
