SDL SPOOKY PLATFORMER ENGINE  0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
Public Member Functions | Protected Attributes | List of all members
ColliderReceiver Class Referenceabstract

a collider receiver defines how a game object should respond when it collides with something More...

#include <ColliderComponent.hpp>

Inheritance diagram for ColliderReceiver:
CollisionReceiverEnemy CollisionReceiverPlayer CollisionReceiverWall

Public Member Functions

 ColliderReceiver (GameObject *myself)
 base class More...
 
virtual void OnCollision (ColliderInfo myComponents, ColliderInfo otherComponents, CollisionType cType) = 0
 

Protected Attributes

GameObject_myself
 

Detailed Description

a collider receiver defines how a game object should respond when it collides with something

Constructor & Destructor Documentation

ColliderReceiver::ColliderReceiver ( GameObject myself)

base class

Member Function Documentation

virtual void ColliderReceiver::OnCollision ( ColliderInfo  myComponents,
ColliderInfo  otherComponents,
CollisionType  cType 
)
pure virtual

Implemented in CollisionReceiverPlayer.

Member Data Documentation

GameObject* ColliderReceiver::_myself
protected

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