CubbyFlow::RigidBodyCollider2::Builder Class Referencefinal

Front-end to create RigidBodyCollider2 objects step by step. More...

#include <Core/Collider/RigidBodyCollider2.h>

Public Member Functions

BuilderWithSurface (const Surface2Ptr &surface)
 Returns builder with surface. More...
 
BuilderWithLinearVelocity (const Vector2D &linearVelocity)
 Returns builder with linear velocity. More...
 
BuilderWithAngularVelocity (double angularVelocity)
 Returns builder with angular velocity. More...
 
RigidBodyCollider2 Build () const
 Builds RigidBodyCollider2. More...
 
RigidBodyCollider2Ptr MakeShared () const
 Builds shared pointer of RigidBodyCollider2 instance. More...
 

Detailed Description

Front-end to create RigidBodyCollider2 objects step by step.

Member Function Documentation

◆ Build()

RigidBodyCollider2 CubbyFlow::RigidBodyCollider2::Builder::Build ( ) const

◆ MakeShared()

RigidBodyCollider2Ptr CubbyFlow::RigidBodyCollider2::Builder::MakeShared ( ) const

Builds shared pointer of RigidBodyCollider2 instance.

◆ WithAngularVelocity()

Builder& CubbyFlow::RigidBodyCollider2::Builder::WithAngularVelocity ( double  angularVelocity)

Returns builder with angular velocity.

◆ WithLinearVelocity()

Builder& CubbyFlow::RigidBodyCollider2::Builder::WithLinearVelocity ( const Vector2D linearVelocity)

Returns builder with linear velocity.

◆ WithSurface()

Builder& CubbyFlow::RigidBodyCollider2::Builder::WithSurface ( const Surface2Ptr surface)

Returns builder with surface.


The documentation for this class was generated from the following file: