2019-10-04 15:22:15 +02:00
|
|
|
#ifndef ENTITY_INT_H
|
|
|
|
#define ENTITY_INT_H
|
|
|
|
|
|
|
|
#include "entity.h"
|
|
|
|
|
|
|
|
class EntityInt : public Entity
|
|
|
|
{
|
2019-10-06 10:47:15 +02:00
|
|
|
public:
|
|
|
|
EntityInt() = default;
|
|
|
|
EntityInt(int id);
|
2019-10-04 15:22:15 +02:00
|
|
|
void setId(int id);
|
2019-10-06 10:47:15 +02:00
|
|
|
int getId() const { return id_; };
|
|
|
|
|
|
|
|
protected:
|
2019-10-04 15:22:15 +02:00
|
|
|
int id_{};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ENTITY_INT_H
|