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

MapObjectViewProps

MapObjectViewProps<Fields, Placement> = EntityViewProps & MapObjectBuildContext<Placement, Fields>

What a map object’s view takes: its entity, as any entity’s view does, and what its build took. Typed by the fields’ schema, declared apart from the object so the view and the object never name each other.

Type Parameter Default type
Fields extends MapObjectFields MapObjectFields
Placement extends MapObjectPlacement Point