summaryrefslogtreecommitdiff
path: root/vfg/src/Puppet.h
diff options
context:
space:
mode:
authorTim Redfern <tim@gray.(none)>2012-11-20 04:46:42 +0000
committerTim Redfern <tim@gray.(none)>2012-11-20 04:46:42 +0000
commitb4d89c0a9029739d2af1705b371dc28f27b6d2dc (patch)
tree5df34978c29ca28f5c2d01d8694f83f44cdc848f /vfg/src/Puppet.h
parent891b71c261a4571e0e0ba0e824e1bdb2478e0c65 (diff)
puppet penguins
Diffstat (limited to 'vfg/src/Puppet.h')
-rwxr-xr-xvfg/src/Puppet.h15
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