Add the ship type to the player data

This commit is contained in:
Oliver-Akins 2021-12-25 23:57:26 -07:00
parent c282ec0378
commit 0edf74ab7f

View file

@ -9,10 +9,11 @@ interface Player {
name: string; name: string;
host: boolean; host: boolean;
colour: string; colour: string;
ship: string;
} }
export const players = readable<Player[]>([ export const players = readable<Player[]>([
{ name: `Player 1`, host: true, colour: "#00aa00" }, { name: `Player 1`, host: true, colour: "#00aa00", ship: "space-shuttle" },
{ name: `Player 2`, host: false, colour: "#aaaa00" }, { name: `Player 2`, host: false, colour: "#7400b8", ship: "space-shuttle" },
{ name: `Player 3`, host: false, colour: "#00aaaa" }, { name: `Player 3`, host: false, colour: "#faa307", ship: "space-shuttle" },
{ name: `Player 4`, host: false, colour: "#ffaaff" }, { name: `Player 4`, host: false, colour: "#b7094c", ship: "space-shuttle" },
]); ]);