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

Public Member Functions | |
| CollisionTerrainCommand (const CollisionTerrainCommand &)=delete | |
| CollisionTerrainCommand & | operator= (const CollisionTerrainCommand &)=delete |
| CollisionTerrainCommand (CollidableGroup *g, CollisionDispatchBase *d) | |
| Constructor for CollisionTerrainCommand 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 CollisionTerrainCommand 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.
| CollisionTerrainCommand::CollisionTerrainCommand | ( | CollidableGroup * | g, |
| CollisionDispatchBase * | d ) |
Constructor for CollisionTerrainCommand 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.
