Adding a position componentn and a vector3

This commit is contained in:
Zoe Roux
2021-05-17 12:31:02 +02:00
parent 2015705f11
commit e98a73f2ea
9 changed files with 292 additions and 17 deletions

View File

@@ -6,16 +6,10 @@
namespace WAL
{
Component::Component(std::string name, Entity &entity)
: _name(std::move(name)),
_entity(entity)
Component::Component(Entity &entity)
: _entity(entity)
{ }
std::string Component::getName() const
{
return this->_name;
}
bool Component::isDisabled() const
{
return this->_disabled;