Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 27, 2007, 4:01:42 PM (18 years ago)
Author:
stefalie
Message:

some changes…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blink/src/world_entities/effects/blink.h

    r10325 r10407  
    77
    88#include "world_entity.h"
    9 #include "color.h"
     9#include "effects/billboard.h"
    1010
    1111class Material;
    1212class TiXmlElement;
     13//class Billboard;
    1314
    1415class Blink : public WorldEntity
     
    2324
    2425    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); }
    2627    void setOmega(float w) { this->omega = w; }
    2728    void setColor(float r, float g, float b) { this->color = Vector(r, g, b); }
     
    3334  private:
    3435    Material*         material;
     36    Billboard*        bBoard;
    3537    Vector            position;
    3638    Vector            color;
Note: See TracChangeset for help on using the changeset viewer.