Advertisement
Guest User

Untitled

a guest
Jun 27th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #pragma once
  2. #include<string>
  3. #include "Game.h"
  4.  
  5. class VisibleGameObject
  6. {
  7. public:
  8. VisibleGameObject();
  9. virtual ~VisibleGameObject();
  10.  
  11. virtual void Load(std::string filename);
  12. virtual void Draw(sf::RenderWindow & window);
  13.  
  14. virtual void SetPosition(float x, float y);
  15.  
  16. private:
  17. sf::Sprite _sprite;
  18. sf::Image _image;
  19. std::string _filename;
  20. bool _isLoaded;
  21.  
  22. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement