Skip to content

spendWalkCredit

spendWalkCredit(credit, step): boolean

Defined in: packages/engine/src/gameplay/replication/protocol.ts:185

Spends one walk from credit at step of her moves, after adding the steps since it was last read; false with less than one to spend.

Parameter Type
credit WalkCredit
step number

boolean