#include "../app/Application.h"
#include "../app/State.h"
#include "../app/Timer.h"
+#include "../loader/fwd.h"
#include "../geometry/Vector.h"
+#include <memory>
#include <SDL.h>
namespace graphics {
virtual int Row(int frame) const = 0;
virtual geometry::Vector<int> Offset(int frame) const { return geometry::Vector<int>(); }
+protected:
+ static void AddFields(loader::TypeDescription &, const Animation &, std::ptrdiff_t offset, int boolId, int numberId, int spriteId);
+
private:
const Sprite *sprite;
int frameTime;