Skip to content

GroundItem beta ​

Interface of @v12-engine/engine

ts
export interface GroundItem

An item lying on the ground

Members ​

charges ​

ts
charges: number;

How many charges the item has left

id ​

ts
id: number;

The item instance's id, kept when it is picked up again

item ​

ts
item: string;

The item type's id

x ​

ts
x: number;

The item's place on the map's x axis

z ​

ts
z: number;

The item's place on the map's z axis