NathanSweet a1ad55f8a1 Documented memory ownership.
Clean up and minor improvements.
2013-03-15 01:41:24 +01:00

21 lines
528 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, public sf::Drawable {
public:
sf::VertexArray vertexArray;
sf::Texture *texture; // This is a bit ugly and means all region attachments must use the same textures.
Skeleton (SkeletonData *skeletonData);
virtual void draw (sf::RenderTarget& target, sf::RenderStates states) const;
};
} /* namespace spine */
#endif /* SPINE_SKELETON_H_ */