refactor: remove unnecessary classes
This commit is contained in:
@ -2,17 +2,17 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "../Serializers/Serializable.h"
|
||||
#include "Hashable.h"
|
||||
|
||||
namespace L2Bot::Domain::Entities
|
||||
{
|
||||
class EntityInterface : public Serializers::Serializable
|
||||
class EntityInterface : public Serializers::Serializable, public Hashable
|
||||
{
|
||||
public:
|
||||
virtual const uint32_t GetId() const = 0;
|
||||
virtual void Update(const EntityInterface* other) = 0;
|
||||
virtual void SaveState() = 0;
|
||||
virtual const bool IsEqual(const EntityInterface* other) const = 0;
|
||||
virtual const std::string GetEntityName() const = 0;
|
||||
|
||||
EntityInterface() = default;
|
||||
virtual ~EntityInterface() = default;
|
||||
|
Reference in New Issue
Block a user