SDL SPOOKY PLATFORMER ENGINE  0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
Functions
ComponentUtils.hpp File Reference
#include "GameObject.hpp"
#include "Component.hpp"

Go to the source code of this file.

Functions

template<typename C >
C * SafeGetComponentField (C *field, const GameObject &entity)
 

Function Documentation

template<typename C >
C* SafeGetComponentField ( C *  field,
const GameObject entity 
)