From b744d5b4402dc010d379f569f4af4311e2fff591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=BCndgens?= Date: Mon, 15 Dec 2014 13:36:04 +0100 Subject: [PATCH 1/2] Startet implementing a trigger skeleton. --- trigger.cc | 11 +++++++++++ trigger.hh | 15 +++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 trigger.cc create mode 100644 trigger.hh diff --git a/trigger.cc b/trigger.cc new file mode 100644 index 0000000..1ff0ca0 --- /dev/null +++ b/trigger.cc @@ -0,0 +1,11 @@ +#include "trigger.hh" + +Trigger::Trigger(std::vec position, float distance, bool isBigger, objectIndex, int functionPointer) { + +} + +Trigger::Trigger(){ +} + +Trigger::~Trigger(){ +} diff --git a/trigger.hh b/trigger.hh new file mode 100644 index 0000000..a968dd1 --- /dev/null +++ b/trigger.hh @@ -0,0 +1,15 @@ +#ifndef TRIGGER_HH_INCLUDED +#define TRIGGER_HH_INCLUDED + +#include + +class Trigger { + public: + Trigger(std::vec position, float distance, bool isBigger, objectIndex, int functionPointer); + Trigger(); + ~Trigger(); + private: + +}; + +#endif From 81bead5a97d1de23f62136aabda15540fba4f544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=BCndgens?= Date: Mon, 15 Dec 2014 13:39:24 +0100 Subject: [PATCH 2/2] Fixed the trigger skeleton --- trigger.cc | 4 ++-- trigger.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trigger.cc b/trigger.cc index 1ff0ca0..ab0618a 100644 --- a/trigger.cc +++ b/trigger.cc @@ -1,7 +1,7 @@ #include "trigger.hh" -Trigger::Trigger(std::vec position, float distance, bool isBigger, objectIndex, int functionPointer) { - +Trigger::Trigger(std::vector position, float distance, bool isBigger, int objectIndex, int functionPointer) { + } Trigger::Trigger(){ diff --git a/trigger.hh b/trigger.hh index a968dd1..05f1c3b 100644 --- a/trigger.hh +++ b/trigger.hh @@ -5,7 +5,7 @@ class Trigger { public: - Trigger(std::vec position, float distance, bool isBigger, objectIndex, int functionPointer); + Trigger(std::vector position, float distance, bool isBigger, int objectIndex, int functionPointer); Trigger(); ~Trigger(); private: