Saxum/trigger.hh
2014-12-15 14:59:03 +01:00

22 lines
478 B
C++

#ifndef TRIGGER_HH_INCLUDED
#define TRIGGER_HH_INCLUDED
#include <vector>
#include "object.hh"
class Trigger {
public:
Trigger(std::vector<float> position, float distance, bool isBigger, Object* object, void (*functionPointer)());
Trigger();
~Trigger();
void triggerUpdate();
private:
std::vector<float> position;
float distance;
bool isBigger;
Object* object;
void (*functionPointer)();
};
#endif