SpawnAt
Interface of @v12-engine/engine
ts
export interface SpawnAt extends SpawnOptionsWhere a new entity goes and whose it is, with what else it starts with (World.spawn(type, { at, owner }))
Members
at
ts
at: Vec2;Where it stands, in cells; a building is centred on the cells nearest it
owner
ts
owner: PlayerId;The player it belongs to