Added new flame class.

This commit is contained in:
Steffen Fündgens 2015-02-17 12:36:43 +01:00
parent 88d31bc68a
commit c8788f3329
2 changed files with 33 additions and 0 deletions

16
flame.cc Normal file
View File

@ -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;
}

17
flame.hh Normal file
View File

@ -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