From c8788f3329715dafbd51d82e69cfd613fd39abc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=BCndgens?= Date: Tue, 17 Feb 2015 12:36:43 +0100 Subject: [PATCH] Added new flame class. --- flame.cc | 16 ++++++++++++++++ flame.hh | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 flame.cc create mode 100644 flame.hh diff --git a/flame.cc b/flame.cc new file mode 100644 index 0000000..a519497 --- /dev/null +++ b/flame.cc @@ -0,0 +1,16 @@ +#include "flame.hh" + +Flame::Flame(float offset, glm::vec3 position, glm::vec3 rotation) : + Entity(position, rotation) { + this->offset = offset; +} + +Flame::Flame() { +} + +Flame::~Flame() { +} + +float Flame::getOffset(){ + return offset; +} diff --git a/flame.hh b/flame.hh new file mode 100644 index 0000000..2103082 --- /dev/null +++ b/flame.hh @@ -0,0 +1,17 @@ +#ifndef FLAME_HH_INCLUDED +#define FLAME_HH_INCLUDED + +#include "entity.hh" + + +class Flame : public Entity { + public: + Flame(float offset, glm::vec3 position, glm::vec3 rotation); + Flame(); + ~Flame(); + float getOffset(); + private: + float offset; +}; + +#endif