Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

CargoCounters

CargoCounters(props): Element | null

What the player carries, one counter a kind: its picture and how many, in the order the game lists its kinds, at the top of the screen unless slot names another place. Nothing while it holds nothing. It sits in a Hud, as a Panel does; a game that wants another look draws its own from useCargoCounts and useCargoImage.

Parameter Type
props CargoCountersProps

Element | null