Advertisement
Lucassim

asd

Apr 10th, 2013
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.91 KB | None | 0 0
  1. /*
  2.  * Entity.h
  3.  *
  4.  *  Created on: Mar 24, 2013
  5.  *      Author: gonchub
  6.  */
  7.  
  8. #ifndef ENTITY_H_
  9. #define ENTITY_H_
  10.  
  11. #include <model/Vector2.h>
  12. #include <model/entityProperties/Coordinates.h>
  13. #include <model/entityProperties/Position.h>
  14. #include <model/entityProperties/Speed.h>
  15. #include <model/entityProperties/Power.h>
  16. #include <model/entityProperties/Base.h>
  17.  
  18. #include <string>
  19. #include <vector>
  20. #include <iostream>
  21. using namespace std;
  22.     class Entity {
  23.     public:
  24.         Entity();
  25.         virtual void setPos(float x, float y);
  26.         Vector2* getCurrentPos();
  27.         virtual string getClassName();
  28.         virtual ~Entity();
  29.         Base* getBase();
  30.         void setBase(Base* base);
  31.         std::string getName();
  32.         void setName(std::string name);
  33.         Coordinates* getCoordinates();
  34.         void setCoordinates(int x, int y);
  35.     protected:
  36.         Vector2* currentPos;
  37.         Base* base;
  38.         std::string name;
  39.         Coordinates* coord;
  40.     };
  41.  
  42. #endif /* ENTITY_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement