Changeset 9112 in orxonox.OLD for trunk/src/lib/graphics/effects/rain_effect.cc
- Timestamp:
- Jul 4, 2006, 11:29:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/effects/rain_effect.cc
r9006 r9112 29 29 #include "light.h" 30 30 #include "cloud_effect.h" 31 #include "script_class.h" 31 32 32 33 #include "parser/tinyxml/tinyxml.h" … … 39 40 40 41 using namespace std; 42 43 CREATE_SCRIPTABLE_CLASS(RainEffect, CL_RAIN_EFFECT, 44 addMethod("startRaining", ExecutorLua0<RainEffect>(&RainEffect::startRaining)) 45 ->addMethod("stopRaining", ExecutorLua0<RainEffect>(&RainEffect::stopRaining)) 46 ->addMethod("activate", ExecutorLua0<RainEffect>(&RainEffect::activate)) 47 ->addMethod("deactivate", ExecutorLua0<RainEffect>(&RainEffect::deactivate)) 48 ); 41 49 42 50 CREATE_FACTORY(RainEffect, CL_RAIN_EFFECT);
Note: See TracChangeset
for help on using the changeset viewer.