Starting efforts (does not compile).

This commit is contained in:
Don Honerbrink
2015-02-17 17:21:17 -06:00
parent 1f8441a0ce
commit 52317560c4
14 changed files with 212 additions and 290 deletions

View File

@@ -24,17 +24,14 @@ class TweenSets
{
public:
TweenSets();
TweenSets(TweenSets &copy);
~TweenSets();
typedef std::vector<std::vector<Tween *> *> TweenAttributes;
typedef std::vector<std::vector<Tween>> TweenAttributes;
TweenAttributes *GetTween(std::string tween);
TweenAttributes *GetTween(std::string tween, int index);
void SetTween(std::string tween, int index, TweenAttributes *set);
TweenAttributes &GetTween(std::string tween);
TweenAttributes &GetTween(std::string tween, int index);
void ImportTween(std::string tween, int index, TweenAttributes &set);
private:
TweenAttributes *FindTween(std::map<int, TweenAttributes *> &tweens, int index);
void DestroyTweens();
std::map<std::string, std::map<int, TweenAttributes *> > TweenMap;
TweenAttributes &FindTween(std::map<int, TweenAttributes> &tweens, int index);
std::map<std::string, std::map<int, TweenAttributes> > TweenMap;
};