entity is now an alias

This commit is contained in:
benkyd
2022-06-08 18:44:58 +00:00
parent 8717e3326b
commit b90898fca6

View File

@@ -13,8 +13,8 @@ namespace EC
struct IComponentContainer
{
virtual ~IComponentContainer() = default;
virtual void Create(const Entity&) = 0;
virtual void Destroy(const Entity&) = 0;
virtual void Create(const Entity) = 0;
virtual void Destroy(const Entity) = 0;
};
template <typename TComponent>
@@ -26,7 +26,7 @@ struct ComponentContainer : public IComponentContainer
}
void Destroy(const Entity&) override
void Destroy(const Entity) override
{
}