Work in progress. These docs describe Spawnite at launch, and some parts are still being built.
A map object a game declared: what a map’s props names by its kind.
| Property |
Modifier |
Type |
Description |
build |
readonly |
(context) => MapObjectBuildResult |
- |
category |
readonly |
string |
- |
fields |
readonly |
Fields |
- |
help |
readonly |
string |
- |
icon |
readonly |
Readonly<MapObjectIcon> |
- |
kind |
readonly |
string |
- |
placement |
readonly |
Placement |
- |
rotates |
readonly |
boolean |
- |
scales |
readonly |
boolean |
Whether an entry may scale it; only a point ever does. |
snap |
readonly |
number |
- |
view |
readonly |
ComponentType<MapObjectViewProps<Fields, Placement>> | undefined |
- |