Skip to content

TeamColorFn beta ​

TypeAlias of @v12-engine/client

ts
export type TeamColorFn = (player: PlayerState, index: number) => Rgb | undefined;

A player's colour decided in code: their state, and their place among the players who play. The map's when nothing