Created
July 17, 2017 16:12
-
-
Save shibbo/64651711497a7982a7ac09c1c7f00c54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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