CubbyFlow::ColliderSet< N >::Builder Class Referencefinal
Front-end to create ColliderSet objects step by step. More...
#include <Core/Geometry/ColliderSet.hpp>
Public Member Functions | |
Builder & | WithColliders (const ConstArrayView1< std::shared_ptr< Collider< N >>> &others) |
Returns builder with other colliders. More... | |
ColliderSet | Build () const |
Builds ColliderSet. More... | |
std::shared_ptr< ColliderSet< N > > | MakeShared () const |
Builds shared pointer of ColliderSet instance. More... | |
Detailed Description
template<size_t N>
class CubbyFlow::ColliderSet< N >::Builder
Front-end to create ColliderSet objects step by step.
Member Function Documentation
◆ Build()
template<size_t N>
ColliderSet CubbyFlow::ColliderSet< N >::Builder::Build | ( | ) | const |
Builds ColliderSet.
◆ MakeShared()
template<size_t N>
std::shared_ptr<ColliderSet<N> > CubbyFlow::ColliderSet< N >::Builder::MakeShared | ( | ) | const |
Builds shared pointer of ColliderSet instance.
◆ WithColliders()
template<size_t N>
Builder& CubbyFlow::ColliderSet< N >::Builder::WithColliders | ( | const ConstArrayView1< std::shared_ptr< Collider< N >>> & | others | ) |
Returns builder with other colliders.
The documentation for this class was generated from the following file:
- Core/Geometry/ColliderSet.hpp