A type erasing container that can store any generator that generates type T.
Definition AnyGenerator.hpp:16
Definition AnyPath.hpp:33
virtual UPtr< Base > clone() const =0
virtual AnyGenerator< PathVertex > vertices() const =0
virtual AnyGenerator< Edge > edges() const =0
Definition AnyPath.hpp:41
virtual UPtr< Base > clone() const override
Definition AnyPath.hpp:45
Path mPath
Definition AnyPath.hpp:49
virtual AnyGenerator< Edge > edges() const override
Definition AnyPath.hpp:46
virtual AnyGenerator< PathVertex > vertices() const override
Definition AnyPath.hpp:47
Derived(Path path)
Definition AnyPath.hpp:43
A type erasing container that can store any path.
Definition AnyPath.hpp:19
AnyPath & operator=(AnyPath &&)=default
AnyPath(const AnyPath &that)
UPtr< Base > mBase
Definition AnyPath.hpp:52
AnyPath & operator=(const AnyPath &that)
AnyPath(AnyPath &&)=default
AnyPath(Path path)
Definition AnyPath.hpp:21
AnyGenerator< Edge > edges() const noexcept
Definition PathVertex.hpp:14
Definition AnyGenerator.hpp:12
std::unique_ptr< T, Deleter > UPtr
UPtr is a smart pointer that owns and manages another object through a pointer and disposes of that o...
Definition SmartPtr.hpp:28
auto move(Vector3 position)
Moves a entity to the given position.
Definition Helpers.hpp:22
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25