@my-swu/simulator-client / PlaygroundDamageTarget
Type Alias: PlaygroundDamageTarget
PlaygroundDamageTarget = {
seat:Seat;type:"base"; } | {type:"unit";unit_id:number; }
Defined in: packages/ts-sdk/src/generated/types/common.ts:4977
One board target whose damage counter Playground may set exactly.
Example:
ts
import type { PlaygroundDamageTarget } from '@my-swu/simulator-client'
const playgroundDamageTarget: PlaygroundDamageTarget = {
"type": "base",
"seat": "one",
}
console.log(playgroundDamageTarget)