equal
deleted
inserted
replaced
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 |
|
257 === <tt>onSpritePlacement(spriteId, centerX, centerY)</tt> (0.9.21) === |
|
258 This function is called when a [Sprites Sprite] has been placed. |
|
259 |
|
260 `spriteID` is the type of the sprite, you find a list at [Sprites Sprites]. `centerX` and `centerY` are the coordinates of the center of the sprite. |
256 |
261 |
257 === <tt>onGirderPlacement(frameIdx, centerX, centerY)</tt> (0.9.21) === |
262 === <tt>onGirderPlacement(frameIdx, centerX, centerY)</tt> (0.9.21) === |
258 This function is called when a girder has been placed. |
263 This function is called when a girder has been placed. |
259 |
264 |
260 `frameIdx` is an integer and declares the length and orientation of the girder: |
265 `frameIdx` is an integer and declares the length and orientation of the girder: |