2013-02-20 01:25:52 +01:00

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_ */