Skip to content

SusBattleCell

SusBattleCell

Single battle-grid cell — reachable/path/threat/target/deploy/hazard highlight states, terrain type, loot marker, path step/turn number.

Package

SusGame · HUD (commercial)

Open in Playground

SusGame · HUD

Props

NameTypeDefault
ReachableProp<bool>falsev-model
PathProp<bool>falsev-model
ThreatProp<bool>falsev-model
TargetProp<bool>falsev-model
DeployProp<bool>falsev-model
HazardProp<bool>falsev-model
SelectedProp<bool>falsev-model
HasLootProp<bool>falsev-model
TerrainProp<string>"ground"v-model
PathStepProp<int>0v-model
PathTurnProp<string>""v-model

Slots

No slots.

Events

No public events.

Style hooks

USS class contract — override appearance without touching C#. States toggle via these classes:

  • sus-battle-cell
  • sus-battle-cell__edge
  • sus-battle-cell__edge--e
  • sus-battle-cell__edge--full
  • sus-battle-cell__edge--half
  • sus-battle-cell__edge--n
  • sus-battle-cell__edge--s
  • sus-battle-cell__edge--w
  • sus-battle-cell__fill
  • sus-battle-cell__loot
  • sus-battle-cell__step
  • sus-battle-cell__terrain
  • sus-battle-cell--deploy
  • sus-battle-cell--hazard
  • sus-battle-cell--loot
  • sus-battle-cell--path
  • sus-battle-cell--reachable
  • sus-battle-cell--selected
  • sus-battle-cell--target
  • sus-battle-cell--terrain-ground
  • sus-battle-cell--terrain-high
  • sus-battle-cell--terrain-rubble
  • sus-battle-cell--terrain-water
  • sus-battle-cell--threat

Usage

xml
<sus:SusBattleCell />