mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 22:05:10 +00:00
Creating a basic view
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
//
|
||||
|
||||
#include "Entity/Entity.hpp"
|
||||
#include "Scene/Scene.hpp"
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
@@ -65,4 +66,14 @@ namespace WAL
|
||||
{
|
||||
return this->_components.contains(type);
|
||||
}
|
||||
|
||||
void Entity::_componentAdded(const std::type_index &type)
|
||||
{
|
||||
this->_scene._componentAdded(*this, type);
|
||||
}
|
||||
|
||||
void Entity::_componentRemoved(const std::type_index &type)
|
||||
{
|
||||
this->_scene._componentRemoved(*this, type);
|
||||
}
|
||||
} // namespace WAL
|
||||
Reference in New Issue
Block a user