25 lines
586 B
C++
25 lines
586 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <utils.hpp>
|
|
|
|
namespace Game::Renderer {
|
|
class Texture;
|
|
}
|
|
|
|
namespace Game::Object {
|
|
class Entity {
|
|
public:
|
|
Entity(std::string& name, Game::Renderer::Texture* tex) : mName(name), mTex(tex) {}
|
|
// I will define the copy and move constructors later - just deleted for now
|
|
DISABLE_COPY_AND_MOVE(Entity);
|
|
~Entity();
|
|
|
|
void start();
|
|
void update();
|
|
protected:
|
|
std::string mName;
|
|
Game::Renderer::Texture* mTex;
|
|
private:
|
|
};
|
|
} |