equal
deleted
inserted
replaced
1 #summary List of event handlers in the Lua API |
1 #summary List of event handlers in the Lua API |
|
2 #labels !LuaFunctions |
2 |
3 |
3 = Lua API: Event handlers = |
4 = Lua API: Event handlers = |
4 Event handlers are [LuaAPI Lua] functions that Hedgewars calls on certain events. Lua scripts are supposed to _define_ these functions to do something. The functions are then _called_ by Hedgewars when a certain event has occured. For an example of how this works, see [LuaGuide]. |
5 Event handlers are [LuaAPI Lua] functions that Hedgewars calls on certain events. Lua scripts are supposed to _define_ these functions to do something. The functions are then _called_ by Hedgewars when a certain event has occured. For an example of how this works, see [LuaGuide]. |
5 |
6 |
6 This page is a list of all supported event handlers in Hedgewars. |
7 This page is a list of all supported event handlers in Hedgewars. |