mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
22 lines
412 B
C++
22 lines
412 B
C++
#ifndef SPINE_BASEATTACHMENTLOADER_H_
|
|
#define SPINE_BASEATTACHMENTLOADER_H_
|
|
|
|
#include <spine/Attachment.h>
|
|
|
|
namespace spine {
|
|
|
|
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_ */
|