Skip to content

Instantly share code, notes, and snippets.

@shibbo
Created July 17, 2017 16:12
Show Gist options
  • Save shibbo/64651711497a7982a7ac09c1c7f00c54 to your computer and use it in GitHub Desktop.
Save shibbo/64651711497a7982a7ac09c1c7f00c54 to your computer and use it in GitHub Desktop.
#ifndef SPRITE_H
#define SPRITE_H
#include "object.h"
#include "filesystem/filesystem.h"
#include "spriterenderer.h"
class Sprite : public Object
{
public:
Sprite() {}
Sprite(FileBase* coursebin);
Sprite(Sprite*);
qint16 getID() { return spriteID; }
void draw(QPainter* painter);
protected:
qint16 spriteID;
qint8 spriteData[12];
qint8 zone;
qint8 layer;
qint8 unk1;
};
#endif // SPRITE_H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment