New animation system
This commit is contained in:
parent
fa38dfd416
commit
0147975faf
17 changed files with 385 additions and 184 deletions
|
|
@ -2,12 +2,15 @@
|
|||
|
||||
#include "../defines.hpp"
|
||||
#include <list>
|
||||
#include "../helpers/AnimatedVariable.hpp"
|
||||
|
||||
class CAnimationManager {
|
||||
public:
|
||||
|
||||
void tick();
|
||||
|
||||
std::list<CAnimatedVariable*> m_lAnimatedVariables;
|
||||
|
||||
private:
|
||||
bool deltaSmallToFlip(const Vector2D& a, const Vector2D& b);
|
||||
bool deltaSmallToFlip(const CColor& a, const CColor& b);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue