Skip to content

FromMapObject beta ​

Interface of @v12-engine/engine

ts
export interface FromMapObject

What was placed on a map, and the entity it has become

Members ​

data ​

ts
readonly data: Readonly<Record<string, unknown>>;

The game's own fields for it (see defineMapField), with what was not set at its default

entity ​

ts
readonly entity: Entity;

The entity that was placed on the map and has become this entity

object ​

ts
readonly object: Readonly<MapObject>;

As the map has it: where, whose, its name