EzGL
Collision.hpp File Reference

Collision component. More...

#include "EzGL/Component.hpp"
#include <string>
#include <vector>

Go to the source code of this file.

Detailed Description

Collision component.

Enables collision between this object and all other objects with a collision component. An object's data["collided"] is set to true if it has collied with another object during the current frame. Additionally object's Object *other pointer is set to point to the object that it collided with.