Skip to content

playerSlot beta ​

Function of @v12-engine/engine

ts
playerSlot: (id: number) => MapPlayer

Makes the MapPlayer for a player's id, with the default name Player <id>, its own team and the colour from PLAYER_COLORS