Changeset 9746 in orxonox.OLD for branches/new_class_id/src/lib/graphics/effects/lightning_effect.cc
- Timestamp:
- Sep 16, 2006, 3:34:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/effects/lightning_effect.cc
r9716 r9746 27 27 #include "cloud_effect.h" 28 28 #include "script_class.h" 29 #include "debug.h" 29 30 #include "class_id_DEPRECATED.h" 30 31 … … 35 36 36 37 CREATE_SCRIPTABLE_CLASS(LightningEffect, LightningEffect::classID(), 37 addMethod("activate", Executor Lua0<LightningEffect>(&LightningEffect::activate))38 ->addMethod("deactivate", Executor Lua0<LightningEffect>(&LightningEffect::deactivate))38 addMethod("activate", Executor0<LightningEffect, lua_State*>(&LightningEffect::activate)) 39 ->addMethod("deactivate", Executor0<LightningEffect, lua_State*>(&LightningEffect::deactivate)) 39 40 ); 40 41
Note: See TracChangeset
for help on using the changeset viewer.