Changeset 8071 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
- Timestamp:
- Jun 1, 2006, 3:04:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.h
r8050 r8071 31 31 32 32 virtual void tick(float dt); 33 34 void coord(float x, float y, float z); 35 36 inline void setLighteningOption(const std::string& option) { if (option == "activate") this->lighteningActivate = true; 37 /*if (option == "activate") this->snowActivate = true; */} 33 38 39 void activateLightening() { this->activate(); } 40 void deactivateLightening() { this->deactivate(); } 41 34 42 private: 35 43 Billboard* billboard; 44 bool lighteningActivate; 36 45 37 46 float flashFrequency; //!< frequency to activate itself … … 52 61 float seedZ; 53 62 float seedTime; 63 64 float mainPosX; 65 float mainPosY; 66 float mainPosZ; 54 67 55 68 //OrxSound::SoundSource soundSource;
Note: See TracChangeset
for help on using the changeset viewer.