- Timestamp:
- Nov 14, 2008, 1:47:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Backlight.h
r2182 r2207 33 33 #include "Billboard.h" 34 34 #include "objects/Tickable.h" 35 #include "tools/Timer.h" 35 36 36 37 namespace orxonox … … 59 60 { return this->lifetime_; } 60 61 62 inline void setTurnOffTime(float turnofftime) 63 { this->turnofftime_ = turnofftime; } 64 inline float getTurnOffTime() const 65 { return this->turnofftime_; } 66 61 67 inline void setLength(float length) 62 68 { this->length_ = length; this->update_length(); } … … 74 80 { return this->trailmaterial_; } 75 81 76 protected:77 virtual void notifyAttached();78 79 82 private: 83 void stopturnoff(); 80 84 virtual void changedColour(); 81 85 void update_width(); … … 90 94 float length_; 91 95 float lifetime_; 96 float turnofftime_; 97 bool bTurningOff_; 92 98 size_t maxelements_; 93 99 std::string trailmaterial_; 100 char tickcount_; 101 Timer<Backlight> turnofftimer_; 94 102 }; 95 103
Note: See TracChangeset
for help on using the changeset viewer.