SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
CollisionDispatchTerrain< C1 > Class Template Reference

Handles the dispatching of collision callbacks between two collidable objects. More...

#include <CollisionDispatchTerrain.h>

Inheritance diagram for CollisionDispatchTerrain< C1 >:
Inheritance graph

Public Member Functions

virtual void ProcessCallbacks (Collidable *c1, Collidable *) override
 Processes the collision callbacks between two collidable objects.
 
- Public Member Functions inherited from CollisionDispatchBase
 CollisionDispatchBase (const CollisionDispatchBase &)=delete
 
CollisionDispatchBaseoperator= (const CollisionDispatchBase &)=delete
 

Detailed Description

template<typename C1>
class CollisionDispatchTerrain< C1 >

Handles the dispatching of collision callbacks between two collidable objects.

The CollisionDispatchTerrain class is responsible for processing collision callbacks between two collidable objects. It inherits from the CollisionDispatchBase class and overrides the ProcessCallbacks method to perform the collision dispatch.

Template Parameters
C1The type of the first collidable object.
C2The type of the second collidable object.

Member Function Documentation

◆ ProcessCallbacks()

template<typename C1>
virtual void CollisionDispatchTerrain< C1 >::ProcessCallbacks ( Collidable * c1,
Collidable *  )
inlineoverridevirtual

Processes the collision callbacks between two collidable objects.

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

Implements CollisionDispatchBase.


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