Changeset 10407 in orxonox.OLD for branches/blink/src/world_entities/effects/blink.h
- Timestamp:
- Jan 27, 2007, 4:01:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blink/src/world_entities/effects/blink.h
r10325 r10407 7 7 8 8 #include "world_entity.h" 9 #include " color.h"9 #include "effects/billboard.h" 10 10 11 11 class Material; 12 12 class TiXmlElement; 13 //class Billboard; 13 14 14 15 class Blink : public WorldEntity … … 23 24 24 25 void setPosition(float x, float y, float z) { this->position = Vector(x, y, z); } 25 void setSize(float s) { this->size = s; }26 void setSize(float s) { this->size = s; this->bBoard->setSize(this->size, this->size); } 26 27 void setOmega(float w) { this->omega = w; } 27 28 void setColor(float r, float g, float b) { this->color = Vector(r, g, b); } … … 33 34 private: 34 35 Material* material; 36 Billboard* bBoard; 35 37 Vector position; 36 38 Vector color;
Note: See TracChangeset
for help on using the changeset viewer.