mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
20 lines
423 B
C++
20 lines
423 B
C++
#ifndef SPINE_SKELETON_H_
|
|
#define SPINE_SKELETON_H_
|
|
|
|
#include <spine/BaseSkeleton.h>
|
|
#include <SFML/Graphics/VertexArray.hpp>
|
|
|
|
namespace spine {
|
|
|
|
class Skeleton: public BaseSkeleton, private sf::Drawable {
|
|
public:
|
|
sf::VertexArray vertexArray;
|
|
|
|
Skeleton (SkeletonData *skeletonData);
|
|
|
|
virtual void draw (sf::RenderTarget& target, sf::RenderStates states) const;
|
|
};
|
|
|
|
} /* namespace spine */
|
|
#endif /* SPINE_SKELETON_H_ */
|