LuaAPI.wiki
changeset 403 7642806ce7b9
parent 402 1e7586c110f6
child 404 37d44392ad2b
equal deleted inserted replaced
402:1e7586c110f6 403:7642806ce7b9
   250 
   250 
   251 <blockquote>This function is called when a hedgehog is hidden(removed from the map).</blockquote>
   251 <blockquote>This function is called when a hedgehog is hidden(removed from the map).</blockquote>
   252 
   252 
   253 === <tt>onHogRestore()</tt> (0.9.16) ===
   253 === <tt>onHogRestore()</tt> (0.9.16) ===
   254 
   254 
   255 <blockquote>This function is called when a hedgehog is restored (unhidden).<blockquote>
   255 <blockquote>This function is called when a hedgehog is restored (unhidden).</blockquote>
   256 
   256 
   257 === <tt>onGirderPlacement(frameIdx, centerX, centerY)</tt> (0.9.21) ===
   257 === <tt>onGirderPlacement(frameIdx, centerX, centerY)</tt> (0.9.21) ===
   258 This function is called when a girder has been placed.
   258 This function is called when a girder has been placed.
   259 
   259 
   260 `frameIdx` is an integer and declares the length and orientation of the girder:
   260 `frameIdx` is an integer and declares the length and orientation of the girder: