update parser

This commit is contained in:
HENRY Benjamin
2021-06-11 16:34:45 +02:00
parent 958a9328fe
commit d36c17f113
8 changed files with 205 additions and 61 deletions
+5
View File
@@ -39,6 +39,11 @@ namespace WAL
return this->_name;
}
void Entity::setName(std::string &name)
{
this->_name = name;
}
bool Entity::isDisable() const
{
return this->_disabled;
+3 -1
View File
@@ -51,8 +51,10 @@ namespace WAL
Scene &_scene;
//! @brief Get the ID of the entity.
unsigned getUid() const;
//! @brief Get the name fo the entity
//! @brief Get the name of the entity
std::string getName() const;
//!@brief Set the name of the entity
void setName(std::string &name);
//! @brief Used if the entity is disabled
bool isDisable() const;