SusBattleCell

Одна клетка боевой сетки — состояния reachable/path/threat/target/deploy/hazard, тип terrain, маркер лута, номер path step/turn.
Пакет
SusGame · HUD (коммерческий)
Свойства
| Имя | Тип | По умолчанию | |
|---|---|---|---|
Reachable | Prop<bool> | false | v-model |
Path | Prop<bool> | false | v-model |
Threat | Prop<bool> | false | v-model |
Target | Prop<bool> | false | v-model |
Deploy | Prop<bool> | false | v-model |
Hazard | Prop<bool> | false | v-model |
Selected | Prop<bool> | false | v-model |
HasLoot | Prop<bool> | false | v-model |
Terrain | Prop<string> | "ground" | v-model |
PathStep | Prop<int> | 0 | v-model |
PathTurn | Prop<string> | "" | v-model |
Слоты
Слотов нет.
События
Публичных событий нет.
Хуки стиля
Контракт USS-классов — внешний вид переопределяется без правки C#. Состояния переключаются этими классами:
sus-battle-cellsus-battle-cell__edgesus-battle-cell__edge--esus-battle-cell__edge--fullsus-battle-cell__edge--halfsus-battle-cell__edge--nsus-battle-cell__edge--ssus-battle-cell__edge--wsus-battle-cell__fillsus-battle-cell__lootsus-battle-cell__stepsus-battle-cell__terrainsus-battle-cell--deploysus-battle-cell--hazardsus-battle-cell--lootsus-battle-cell--pathsus-battle-cell--reachablesus-battle-cell--selectedsus-battle-cell--targetsus-battle-cell--terrain-groundsus-battle-cell--terrain-highsus-battle-cell--terrain-rubblesus-battle-cell--terrain-watersus-battle-cell--threat
Usage
xml
<sus:SusBattleCell />