mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-04 02:36:31 +00:00
update parser
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user