Command to handle collision tests within a single collidable group. More...
#include <CollisionTestSelfCommand.h>

Public Member Functions | |
| CollisionTestSelfCommand (const CollisionTestSelfCommand &)=delete | |
| CollisionTestSelfCommand & | operator= (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 | |
| CollisionTestCommandBase & | operator= (const CollisionTestCommandBase &)=default |
Private Attributes | |
| CollidableGroup * | pG |
| Pointer to the collidable group. | |
| CollisionDispatchBase * | pDispatch |
| Pointer to the collision dispatch. | |
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.
| CollisionTestSelfCommand::CollisionTestSelfCommand | ( | CollidableGroup * | g, |
| CollisionDispatchBase * | d ) |
Constructor for CollisionTestSelfCommand with collidable group and dispatch.
| g | Pointer to the collidable group. |
| d | Pointer to the collision dispatch. |
|
overridevirtual |
Executes the collision test command within the collidable group.
Implements CollisionTestCommandBase.
