Skip to content

StartingBaseCode beta ​

Interface of @v12-engine/engine

ts
export interface StartingBaseCode

A start in code: puts down a base at the start location, whatever it likes

Members ​

spawn ​

ts
spawn(world: World, player: PlayerId, at: Vec2): void;

Puts down a base at the start location. Only for players the map places nothing for