- Timestamp:
- Nov 16, 2008, 7:10:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Backlight.h
r2207 r2212 80 80 { return this->trailmaterial_; } 81 81 82 virtual void changedScale(); 83 82 84 private: 83 85 void stopturnoff(); … … 101 103 Timer<Backlight> turnofftimer_; 102 104 }; 103 104 105 /*106 public:107 Backlight(float maxspeed = 1.0, float brakingtime = 1.0, float scale = 1.0);108 virtual ~Backlight();109 110 void setConfigValues();111 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);112 virtual void tick(float dt);113 virtual void changedVisibility();114 virtual bool create();115 116 117 void setTimeFactor(float factor);118 119 private:120 void configure(float maxspeed, float brakingtime, float scale = 1);121 void updateColourChange();122 123 static float timeFactor_s;124 BillboardSet billboard_;125 Ogre::SceneNode* ribbonTrailNode_;126 Ogre::RibbonTrail* ribbonTrail_;127 128 129 float maxLifeTime_;130 float trailSegmentLength_;131 float width_;132 133 float brakefactor_;134 135 float maxTraillength_;136 float traillength_;137 138 size_t maxTrailsegments_;139 };140 */141 105 } 142 106
Note: See TracChangeset
for help on using the changeset viewer.