SDL SPOOKY PLATFORMER ENGINE  0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
Classes | Enums
ColliderComponent.hpp File Reference
#include "Component.hpp"
#include "TransformComponent.hpp"
#include "PhysicsComponent.hpp"
#include "ComponentUtils.hpp"
#include "HealthComponent.hpp"
#include "TinyMath.hpp"
#include "SDL2/SDL.h"
#include "GameObject.hpp"

Go to the source code of this file.

Classes

class  ColliderComponent
 
struct  ColliderInfo
 
class  ColliderReceiver
 Collider receiver defines how a game object should respond when it collides with something More...
 
class  CollisionReceiverEnemy
 
class  CollisionReceiverPlayer
 
class  CollisionReceiverWall
 

Enums

enum  CollisionType {
  CollisionType::North, CollisionType::South, CollisionType::East, CollisionType::West,
  CollisionType::NoContact
}
 

Enumeration Type Documentation

enum CollisionType
strong

2D collisions enumerated.

Enum ValuesDocumentation
North 

the north side.

South 

south side.

East 

east side.

West 

west side.

NoContact 

no collision occurred.