LuaAPI.wiki
changeset 63 24004a9003ec
parent 62 1b1285b140eb
child 64 a651a8ab85d5
equal deleted inserted replaced
62:1b1285b140eb 63:24004a9003ec
    50 
    50 
    51 <blockquote>This function is called when the first round starts.
    51 <blockquote>This function is called when the first round starts.
    52 </blockquote>
    52 </blockquote>
    53 Can be used to show the mission and for more setup, for example initial target spawning.
    53 Can be used to show the mission and for more setup, for example initial target spawning.
    54 
    54 
       
    55 === <tt>onNewTurn()</tt> ===
       
    56 
       
    57 <blockquote>This function calls at the start of every turn.
       
    58 </blockquote>
       
    59 
    55 === <tt>onGameTick()</tt> ===
    60 === <tt>onGameTick()</tt> ===
    56 
    61 
    57 <blockquote>This function is called on every game tick, i.e. 1000 times a second.
    62 <blockquote>This function is called on every game tick, i.e. 1000 times a second.
    58 </blockquote>
    63 </blockquote>
    59 === <tt>onGearAdd(gearUid)</tt> ===
    64 === <tt>onGearAdd(gearUid)</tt> ===