From b4d89c0a9029739d2af1705b371dc28f27b6d2dc Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 20 Nov 2012 04:46:42 +0000 Subject: puppet penguins --- vfg/src/Puppet.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'vfg/src/Puppet.h') 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 clips; - deque playlist; + map clips; + deque playlist; }; #endif // PUPPET_H -- cgit v1.2.3