mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 11:01:36 +08:00
24 lines
456 B
C++
24 lines
456 B
C++
#ifndef SPINE_REGIONATTACHMENT_H_
|
|
#define SPINE_REGIONATTACHMENT_H_
|
|
|
|
#include <spine/BaseRegionAttachment.h>
|
|
#include <SFML/Graphics/Vertex.hpp>
|
|
|
|
namespace spine {
|
|
|
|
class Bone;
|
|
|
|
class RegionAttachment: public BaseRegionAttachment {
|
|
public:
|
|
sf::Vertex vertices[4];
|
|
|
|
RegionAttachment ();
|
|
|
|
virtual void updateWorldVertices (Bone *bone);
|
|
|
|
virtual void draw (const BaseSkeleton *skeleton);
|
|
};
|
|
|
|
} /* namespace spine */
|
|
#endif /* SPINE_REGIONATTACHMENT_H_ */
|