HeadlessGame
A game made with no page: its world and the input its steps read.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
input |
StepInput |
What every step reads, which holdInput writes. |
world |
World |
The world it made, with the map’s ground and the scene’s entities. Step it with stepSeconds(game, seconds) or through the devtools store, and destroy it with world.destroy() once done. |