Skip to content

spawnStartingBase beta ​

Function of @v12-engine/engine

ts
export declare function spawnStartingBase(world: World, start: StartingBase | undefined, player: PlayerId, at: Vec2): void;

Puts down a player's start at a point, whichever form it is in: the code's spawn, or the base the data describes (startingBase). Nothing for no start