equal
deleted
inserted
replaced
310 |
310 |
311 === <tt>onDownUp()</tt> === |
311 === <tt>onDownUp()</tt> === |
312 This function is called when you release the down key. |
312 This function is called when you release the down key. |
313 |
313 |
314 === <tt>onHogAttack(ammoType)</tt> === |
314 === <tt>onHogAttack(ammoType)</tt> === |
315 This function is called when you press the attack key. Beginning with 0.9.21, the parameter `ammoType` is provided. It contains the ammo type of the weapon used for the attack. |
315 This function is called when you press the attack key. Beginning with 0.9.21, the parameter `ammoType` is provided. It contains the ammo type of the weapon used for the attack. |
|
316 |
|
317 Note: If you want to detect when a turn was skipped, use `onSkipTurn()`. There is no guarantee that `onHogAttack(amSkip)` is called in such an event. |
316 |
318 |
317 === <tt>onLeftUp()</tt> === |
319 === <tt>onLeftUp()</tt> === |
318 This function is called when you release the left key. |
320 This function is called when you release the left key. |
319 |
321 |
320 === <tt>onPreciseUp()</tt> === |
322 === <tt>onPreciseUp()</tt> === |