Rename ecs::behavior::{components -> component_types}
This commit is contained in:
parent
640bbf47c7
commit
4d7f7fa927
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ namespace psemek::util
|
|||
template <typename Behavior>
|
||||
void apply(Behavior & behavior)
|
||||
{
|
||||
apply_impl(behavior, typename Behavior::components{});
|
||||
apply_impl(behavior, typename Behavior::component_types{});
|
||||
}
|
||||
|
||||
virtual ~species_base() {}
|
||||
|
|
@ -216,7 +216,7 @@ namespace psemek::util
|
|||
template <typename ... Components>
|
||||
struct behavior
|
||||
{
|
||||
using components = std::tuple<Components...>;
|
||||
using component_types = std::tuple<Components...>;
|
||||
using component_ptrs = std::tuple<Components *...>;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue