Constructor
new TriggerOnceIf(terrain, test, color, message)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
terrain |
Terrain | The underlying terrain this decorator wraps. |
test |
string | Flag name or item name whose presence allows the trigger to fire. |
color |
Color | Color event broadcast to the board on firing. |
message |
string | null | Optional modal message shown to the player. |
Extends
Classes
Members
terrain :Terrain
- Source:
- Overrides:
Type:
Methods
getProxiedTerrain()
- Description:
Return the terrain being wrapped (TerrainProxy interface).
- Source:
- Overrides: