Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Entity.h
- *
- * Created on: Mar 24, 2013
- * Author: gonchub
- */
- #ifndef ENTITY_H_
- #define ENTITY_H_
- #include <model/Vector2.h>
- #include <model/entityProperties/Coordinates.h>
- #include <model/entityProperties/Position.h>
- #include <model/entityProperties/Speed.h>
- #include <model/entityProperties/Power.h>
- #include <model/entityProperties/Base.h>
- #include <string>
- #include <vector>
- #include <iostream>
- using namespace std;
- class Entity {
- public:
- Entity();
- virtual void setPos(float x, float y);
- Vector2* getCurrentPos();
- virtual string getClassName();
- virtual ~Entity();
- Base* getBase();
- void setBase(Base* base);
- std::string getName();
- void setName(std::string name);
- Coordinates* getCoordinates();
- void setCoordinates(int x, int y);
- protected:
- Vector2* currentPos;
- Base* base;
- std::string name;
- Coordinates* coord;
- };
- #endif /* ENTITY_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement