added Reward and Expiration to task list

moved text scroller into DeckMenu class since it is specific to DeckMenu and not GameStateDuel
added new util function "wordWrap"
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-03 00:15:12 +00:00
parent 685626128a
commit 4a3d7faf0a
8 changed files with 133 additions and 71 deletions
+3 -1
View File
@@ -18,6 +18,8 @@ protected:
float mY;
float start;
int timer;
int minimumItems;
vector<string> strings;
unsigned int currentId;
int mRandom;
@@ -27,7 +29,7 @@ public:
void Add(string text);
void Reset();
void setRandom(int mode = 1);
TextScroller(int fontId, float x, float y, float width, float speed = 30, int scrollerType = 0);
TextScroller(int fontId, float x, float y, float width, float speed = 30, int scrollerType = 0, int _minimumItems = 2);
void Render();
void Update(float dt);
virtual ostream& toString(ostream& out) const;