|
CeresEngine 0.2.0
A game development framework
|
#include "Component.hpp"#include "Entity.hpp"#include "CeresEngine/Macros.hpp"#include "CeresEngine/Foundation/Predicate.hpp"#include <utility>Go to the source code of this file.
Classes | |
| struct | CeresEngine::ComponentPredicate< Cs > |
A predicate that checks if the given entity has all components in Cs. More... | |
| struct | CeresEngine::ComponentPredicate< ComponentSet< Cs... > > |
A predicate that checks if the given entity has all components in Cs. More... | |
| struct | CeresEngine::ParentPredicate |
A predicate that checks if the entity has parent as it's parent entity. More... | |
| struct | CeresEngine::NamePredicate |
Namespaces | |
| namespace | CeresEngine |
Functions | |
| template<CComponent... Cs> | |
| constexpr auto | CeresEngine::withComponent () noexcept |
A predicate that checks if the entity has all of the given Cs components. | |
| template<typename CS > | |
| constexpr auto | CeresEngine::withComponents () noexcept |
A predicate that checks if the entity has all of the given Cs components. | |
| template<CComponent... Cs, typename Predicate > | |
| constexpr auto | CeresEngine::withComponent (Predicate &&subpredicate) noexcept |
A predicate that checks if the entity has all of the given Cs components. | |
| ParentPredicate | CeresEngine::withParent (const Entity &parent) noexcept |
A predicate that checks if the entity has parent as it's parent entity. | |
| NamePredicate | CeresEngine::withName (String name) |
A predicate that checks if the entity is named name. | |