Skip to content
Snippets Groups Projects
Select Git revision
  • 4c8af8a98b91f603d73e16979f048e1d14587eff
  • master default
2 results

animation.h

Blame
  • animation.h 377 B
    #ifndef ANIMATION_H
    #define ANIMATION_H
    
    #include <QFile>
    #include <QString>
    #include <vector>
    #include "mxframe.h"
    #include "spiframe.h"
    #include <tuple>
    
    class Animation
    {
    private:
        std::vector<MxFrame> frames;
        uint32_t frameId = 0;
    public:
        Animation();
        void openFile(const QString filepath);
        MxFrame nextFrame();
        bool eof();
    };
    
    #endif // ANIMATION_H