Skip to content

EntityRow beta ​

Interface of @v12-engine/engine

ts
export interface EntityRow

An entity as the list of all of them shows it

Members ​

health ​

ts
health: number;

Its health now

hidden ​

ts
hidden: boolean;

Whether it is hidden from the players

id ​

ts
id: EntityId;

The entity's id

kind ​

ts
kind: string;

What kind of thing it is: unit, building or resource

maxHealth ​

ts
maxHealth: number;

Its largest health

name ​

ts
name: string;

The entity's display name

order ​

ts
order: string | null;

Type of what it is doing, null for nothing

owner ​

ts
owner: PlayerId;

The player that owns it

scenery ​

ts
scenery: boolean;

Whether it is scenery, kept out of play and shown as ground dressing

type ​

ts
type: string;

The id of the entity's unit type