mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 22:05:10 +00:00
Adding a position componentn and a vector3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user