SHARE
TWEET

Entity.h

zCool May 20th, 2012 7 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef ENTITY_H
  2. #define ENTITY_H
  3.  
  4. #include <string>
  5.  
  6. class Entity
  7. {
  8. protected:
  9.     int m_X;
  10.         int m_Y;
  11.         std::string m_sprite;
  12.  
  13. public:
  14.         Entity(int X, int Y, std::string sprite);
  15.         int getX() { return m_X; }
  16.         int getY() { return m_Y; }
  17.         void setX(int X) { m_X = X; }
  18.         void setY(int Y) { m_Y = Y; }
  19.         std::string getSprite() { return m_sprite; }
  20. };
  21. #endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top