Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef ENTITY_H
- #define ENTITY_H
- class Entity{
- public:
- Entity(int xVal = 0, int yVal = 0);
- int getX();
- void setX(int xVal = 0);
- int getY();
- void setY(int yVal = 0);
- virtual int getType() = 0;
- private:
- int x;
- int y;
- };
- #endif /** ENTITY_H */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement