mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
22 lines
400 B
C++
22 lines
400 B
C++
#ifndef SPINE_BASEATTACHMENTLOADER_H_
|
|
#define SPINE_BASEATTACHMENTLOADER_H_
|
|
|
|
namespace spine {
|
|
|
|
class Attachment;
|
|
|
|
enum AttachmentType {
|
|
region, regionSequence
|
|
};
|
|
|
|
class BaseAttachmentLoader {
|
|
public:
|
|
virtual ~BaseAttachmentLoader () {
|
|
}
|
|
|
|
virtual Attachment* newAttachment (AttachmentType type, const std::string &name) = 0;
|
|
};
|
|
|
|
} /* namespace spine */
|
|
#endif /* SPINE_BASEATTACHMENTLOADER_H_ */
|