spine-runtimes/spine-cpp/includes/spine/BaseRegionAttachment.h
2013-02-22 23:37:36 +01:00

25 lines
455 B
C++

#ifndef SPINE_BASEREGIONATTACHMENT_H_
#define SPINE_BASEREGIONATTACHMENT_H_
#include <spine/Attachment.h>
namespace spine {
class Bone;
class Slot;
class BaseRegionAttachment: public Attachment {
public:
float x, y, scaleX, scaleY, rotation, width, height;
float offset[8];
BaseRegionAttachment ();
void updateOffset ();
virtual void updateWorldVertices (Bone *bone) = 0;
};
} /* namespace spine */
#endif /* SPINE_BASEREGIONATTACHMENT_H_ */