Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef ENTITY_H
- #define ENTITY_H
- #include <string>
- class Entity
- {
- protected:
- int m_X;
- int m_Y;
- std::string m_sprite;
- public:
- Entity(int X, int Y, std::string sprite);
- int getX() { return m_X; }
- int getY() { return m_Y; }
- void setX(int X) { m_X = X; }
- void setY(int Y) { m_Y = Y; }
- std::string getSprite() { return m_sprite; }
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement