| 123456789101112131415161718192021222324252627 |
- #pragma once
- #include "Vector.h"
- #include <string>
- class Model;
- class Entity
- {
- public:
- Entity();
- ~Entity();
- Model* model;
- virtual void draw();
- virtual void update(float elapsedTime) {};
- virtual void collide() {};
- Vec3f position;
- Vec3f rotation;
- float scale;
- std::string text;
- bool canCollide;
- bool inObject(const Vec3f &position);
- };
|