mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
27 lines
667 B
C++
27 lines
667 B
C++
#ifndef SPINE_BASESKELETONJSON_H_
|
|
#define SPINE_BASESKELETONJSON_H_
|
|
|
|
#include <istream>
|
|
|
|
namespace spine {
|
|
|
|
class SkeletonData;
|
|
class BaseAttachmentLoader;
|
|
|
|
class BaseSkeletonJson {
|
|
public:
|
|
BaseAttachmentLoader *attachmentLoader;
|
|
float scale;
|
|
|
|
BaseSkeletonJson (BaseAttachmentLoader *attachmentLoader);
|
|
virtual ~BaseSkeletonJson ();
|
|
|
|
SkeletonData* readSkeletonData (std::ifstream &file) const;
|
|
SkeletonData* readSkeletonData (std::istream &file) const;
|
|
SkeletonData* readSkeletonData (const std::string &json) const;
|
|
SkeletonData* readSkeletonData (const char *begin, const char *end) const;
|
|
};
|
|
|
|
} /* namespace spine */
|
|
#endif /* SPINE_BASESKELETONJSON_H_ */
|