Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Entity
- {
- public:
- Entity(EntityModel* iModel)
- : model(iModel)
- {
- }
- EntityModel* model;
- }
- class EntityModel
- {
- public:
- sf::Texture texture;
- }
- void draw()
- {
- sf::Sprite objects(entityObject.model->texture);
- window.draw(objects);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement