|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Entity/EntityPredicate.hpp>
Public Member Functions | |
| NamePredicate (String name) | |
Creates a new NamePredicate instance. | |
| bool | operator() (const Entity &entity) const noexcept |
| Executes the predicate. | |
Public Attributes | |
| const String | name |
| The name to be checked against. | |
|
inlineexplicit |
Creates a new NamePredicate instance.
| name | The name to be checked against |
Executes the predicate.
| entity | The entity to execute the predicate against |
true if the entity parent is parent, false otherwise.