diff options
| author | Comment <tim@gray.(none)> | 2012-12-11 23:13:02 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2012-12-11 23:13:02 +0000 |
| commit | 1db97e28061caec0b3e8ce998b92e1936edbf2e5 (patch) | |
| tree | 009549456ccd3529e15be353672c63cdf414db4a /vfg/src/Tag.h | |
| parent | 7867f3fb1842639ce5f1b6e66b010cea7028f5cc (diff) | |
numerous bugfixes
Diffstat (limited to 'vfg/src/Tag.h')
| -rwxr-xr-x | vfg/src/Tag.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vfg/src/Tag.h b/vfg/src/Tag.h index a75e442..1648136 100755 --- a/vfg/src/Tag.h +++ b/vfg/src/Tag.h @@ -22,13 +22,15 @@ class Billboard class Tag: public Billboard {
public:
- Tag(string name,int d,float xPct=0.5f,float yPct=0.5f): Billboard(name,xPct,yPct) {duration =d; };
+ Tag(string name,int d,float xPct=0.5f,float yPct=0.5f): Billboard(name,xPct,yPct) {duration =d; end=false; };
void draw(float x, float y, float scale=1.0f);
void play();
+ void playEnd();
bool isPlaying;
protected:
int startTime;
int duration;
+ bool end;
};
#endif // TAG_H
|
