Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include<string>
- #include "Game.h"
- class VisibleGameObject
- {
- public:
- VisibleGameObject();
- virtual ~VisibleGameObject();
- virtual void Load(std::string filename);
- virtual void Draw(sf::RenderWindow & window);
- virtual void SetPosition(float x, float y);
- private:
- sf::Sprite _sprite;
- sf::Image _image;
- std::string _filename;
- bool _isLoaded;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement