====== OnWorldTick hook callback function ======
OnWorldTick() is called every world tick (50 msec, or 20 times a second). If the world is overloaded, the interval is larger, which is indicated by the TimeDelta parameter.

===== Function signature =====
<code lua>
function OnWorldTick(World, TimeDelta)
</code>
Parameters:
| World | cWorld | The world the tick is happening in. |
| TimeDelta | number | The number of milliseconds since the previous game tick. |

===== Return values =====
Any return value is ignored.

===== Registering the callback =====
To register your plugin to receive a callback through this function, use the hook [[api:plugin:hooks|HOOK_WORLD_TICK]]
<code lua>
cPluginManager.AddHook(cPluginManager.HOOK_WORLD_TICK, Callback);
</code>
