set Life
Set the player life count to this amount.
info.setLife(0)
Your program has a life counter which you can set to record the number of lives remaining for a player in your game.
Parameters
- score: a number to set the life count to.
Example
Set the player life count to 9
lives before starting the game.
Single player
info.setLife(9)
Multiplayer
info.player2.setLife(9)