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

Base class for handling collision dispatching between collidable objects. More...

#include <CollisionDispatchBase.h>

Inheritance diagram for CollisionDispatchBase:
Inheritance graph

Public Member Functions

 CollisionDispatchBase (const CollisionDispatchBase &)=delete
 
CollisionDispatchBaseoperator= (const CollisionDispatchBase &)=delete
 
virtual void ProcessCallbacks (Collidable *c1, Collidable *c2)=0
 Processes the collision callbacks between two collidable objects.
 

Detailed Description

Base class for handling collision dispatching between collidable objects.

The CollisionDispatchBase class serves as the base class for handling collision dispatching between collidable objects. It provides a pure virtual method ProcessCallbacks that must be implemented by derived classes.

Member Function Documentation

◆ ProcessCallbacks()

virtual void CollisionDispatchBase::ProcessCallbacks ( Collidable * c1,
Collidable * c2 )
pure virtual

Processes the collision callbacks between two collidable objects.

Parameters
c1Pointer to the first collidable object.
c2Pointer to the second collidable object.

Implemented in CollisionDispatch< C1, C2 >, and CollisionDispatchTerrain< C1 >.


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