five-on-it / apps/client/src/renderer/anim-state / oneShotOf
Function: oneShotOf()
oneShotOf(
act,weapon):string|undefined
Defined in: apps/client/src/renderer/anim-state.ts:197
The one-shot an act plays (fire by the weapon); undefined for an act that lasts or none.
Parameters
act
"type" | "none" | "door" | "pickup" | "search" | "fire" | "use" | "drop" | "phone" | "open" | "pick" | "punch" | "knockout" | "throw" | "talk" | "shake" | "rummage" | "call" | "board" | "enter" | "exit" | "cower" | "climb" | "swim" | "bark"
weapon
number
Returns
string | undefined