mirror of
https://github.com/risingPhil/PokeMe64.git
synced 2026-03-21 18:04:15 -05:00
It doesn't look like much, but it's functional ;-) It can inject distribution pokémon into gen 1 and gen 2 original cartridges and inject the GS ball in Pokémon Crystal. That's it. But that was the minimal feature set I had in mind for the project. In the Readme.md you can find the ideas I have for expanding the project. But the first priority is the UI, because it really looks bad right now. (as I was mostly focused on building blocks and transfer pak functionality. Not on making it looks good)
26 lines
540 B
C++
Executable File
26 lines
540 B
C++
Executable File
#ifndef _ANIMATIONMANAGER_H
|
|
#define _ANIMATIONMANAGER_H
|
|
|
|
#include <vector>
|
|
#include <cstdint>
|
|
|
|
class IAnimation;
|
|
typedef std::vector<IAnimation*> IAnimationList;
|
|
|
|
/**
|
|
* @brief This class keeps track of animations and is used to apply an animation step on all pending animations
|
|
* on every frame
|
|
*/
|
|
class AnimationManager
|
|
{
|
|
public:
|
|
void add(IAnimation* animation);
|
|
void remove(IAnimation* animation);
|
|
|
|
void step(uint32_t elapsedTimeInMs);
|
|
protected:
|
|
private:
|
|
IAnimationList animations_;
|
|
};
|
|
|
|
#endif |