This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <vector> | |
#include <entt/entity/registry.hpp> | |
namespace entt | |
{ | |
template<typename Entity> | |
class Animation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <entt/entt_traits.hpp> | |
#include <vector> | |
namespace entt | |
{ | |
template<typename Entity> struct relationship | |
{ | |
using traits_type = entt_traits<Entity>; | |
using entity_type = typename traits_type::entity_type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace entt | |
{ | |
template <std::uint64_t Type> class SceneKey | |
{ | |
public: | |
static constexpr std::uint64_t type = Type; | |
std::uint64_t id; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <gtest/gtest.h> | |
#include <entt/core/family.hpp> | |
#include <deque> | |
#include <vector> | |
namespace entt { | |
class RuntimeFamily { | |
std::size_t value = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |
#include <entt/entt.hpp> | |
#include <cstdint> | |
#include <deque> | |
namespace entt | |
{ | |
template<typename Entity> using Group = Registry<Entity>; | |
template<typename Entity> class GroupRegistry | |
{ |
NewerOlder