mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
23 lines
363 B
C++
23 lines
363 B
C++
#ifndef SPINE_ATTACHMENT_H_
|
|
#define SPINE_ATTACHMENT_H_
|
|
|
|
#include <string>
|
|
|
|
namespace spine {
|
|
|
|
class BaseSkeleton;
|
|
|
|
class Attachment {
|
|
public:
|
|
std::string name;
|
|
float x, y, scaleX, scaleY, rotation, width, height;
|
|
|
|
virtual ~Attachment () {
|
|
}
|
|
|
|
virtual void draw (const BaseSkeleton *skeleton) = 0;
|
|
};
|
|
|
|
} /* namespace spine */
|
|
#endif /* SPINE_ATTACHMENT_H_ */
|