Saxum/trigger.hh

22 lines
460 B
C++
Raw Normal View History

#ifndef TRIGGER_HH_INCLUDED
#define TRIGGER_HH_INCLUDED
#include <vector>
#include "object.hh"
class Trigger {
public:
2014-12-15 17:43:10 +00:00
Trigger(glm::vec3 position, float distance, bool isBigger, Object* object, void (*functionPointer)());
Trigger();
~Trigger();
void triggerUpdate();
private:
2014-12-15 17:43:10 +00:00
glm::vec3 position;
float distance;
bool isBigger;
Object* object;
void (*functionPointer)();
};
#endif