SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
CollisionTestSelfCommand Class Reference

Command to handle collision tests within a single collidable group. More...

#include <CollisionTestSelfCommand.h>

Inheritance diagram for CollisionTestSelfCommand:
Inheritance graph

Public Member Functions

 CollisionTestSelfCommand (const CollisionTestSelfCommand &)=delete
 
CollisionTestSelfCommandoperator= (const CollisionTestSelfCommand &)=delete
 
 CollisionTestSelfCommand (CollidableGroup *g, CollisionDispatchBase *d)
 Constructor for CollisionTestSelfCommand with collidable group and dispatch.
 
virtual void Execute () override
 Executes the collision test command within the collidable group.
 
- Public Member Functions inherited from CollisionTestCommandBase
 CollisionTestCommandBase (const CollisionTestCommandBase &)=default
 
CollisionTestCommandBaseoperator= (const CollisionTestCommandBase &)=default
 

Private Attributes

CollidableGrouppG
 Pointer to the collidable group.
 
CollisionDispatchBasepDispatch
 Pointer to the collision dispatch.
 

Detailed Description

Command to handle collision tests within a single collidable group.

The CollisionTestSelfCommand class is responsible for executing collision tests within a single collidable group. It inherits from the CollisionTestCommandBase class and overrides the Execute method to perform the collision test.

Constructor & Destructor Documentation

◆ CollisionTestSelfCommand()

CollisionTestSelfCommand::CollisionTestSelfCommand ( CollidableGroup * g,
CollisionDispatchBase * d )

Constructor for CollisionTestSelfCommand with collidable group and dispatch.

Parameters
gPointer to the collidable group.
dPointer to the collision dispatch.

Member Function Documentation

◆ Execute()

void CollisionTestSelfCommand::Execute ( )
overridevirtual

Executes the collision test command within the collidable group.

Implements CollisionTestCommandBase.

Here is the call graph for this function:

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