Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "SceneNode.h"
- #include "Entity.h"
- class SpriteNode : public SceneNode
- {
- public:
- typedef std::unique_ptr<SpriteNode> Ptr;
- private:
- sf::Sprite mSprite;
- private:
- virtual void drawCurrent(sf::RenderTarget& target, sf::RenderStates states) const;
- public:
- SpriteNode(sf::Texture& mTexture);
- virtual sf::FloatRect getBoundingRect();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement