Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #ifndef ENTITY_H
  2. #define ENTITY_H
  3.  
  4. class Entity{
  5. public:
  6. Entity(int xVal = 0, int yVal = 0);
  7. int getX();
  8. void setX(int xVal = 0);
  9. int getY();
  10. void setY(int yVal = 0);
  11. virtual int getType() = 0;
  12. private:
  13. int x;
  14. int y;
  15.  
  16. };
  17.  
  18. #endif /** ENTITY_H */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement