diff options
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
|
