Methods
getBackground(_outside)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
_outside |
boolean |
getColor(outside)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
outside |
boolean |
A live symbol whose color reflects the player's current health and damage/heal animation state.
Inside (underground): fg = rgb(255, health, health) — white at full health, red when dying Outside (above ground): fg = rgb(255-health, 0, 0) — black at full health, red when dying Background: GREEN during heal flash, RED during damage flash, otherwise none
| Name | Type | Description |
|---|---|---|
_outside |
boolean |
| Name | Type | Description |
|---|---|---|
outside |
boolean |