20 lines
311 B
C++
20 lines
311 B
C++
#ifndef ENTITY_INT_H
|
|
#define ENTITY_INT_H
|
|
|
|
#include "entity.h"
|
|
|
|
class EntityInt : public Entity
|
|
{
|
|
public:
|
|
EntityInt() = default;
|
|
virtual ~EntityInt() = default;
|
|
EntityInt(int id);
|
|
void setId(int id);
|
|
int getId() const { return m_id; };
|
|
|
|
protected:
|
|
int m_id{};
|
|
};
|
|
|
|
#endif // ENTITY_INT_H
|