mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
25 lines
575 B
C++
25 lines
575 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);
|
|
|
|
SkeletonData* readSkeletonData (const char *begin, const char *end) const;
|
|
SkeletonData* readSkeletonData (const std::string &json) const;
|
|
SkeletonData* readSkeletonData (std::istream &file) const;
|
|
};
|
|
|
|
} /* namespace spine */
|
|
#endif /* SPINE_BASESKELETONJSON_H_ */
|