Add the ship type to the player data
This commit is contained in:
parent
c282ec0378
commit
0edf74ab7f
1 changed files with 5 additions and 4 deletions
|
|
@ -9,10 +9,11 @@ interface Player {
|
|||
name: string;
|
||||
host: boolean;
|
||||
colour: string;
|
||||
ship: string;
|
||||
}
|
||||
export const players = readable<Player[]>([
|
||||
{ name: `Player 1`, host: true, colour: "#00aa00" },
|
||||
{ name: `Player 2`, host: false, colour: "#aaaa00" },
|
||||
{ name: `Player 3`, host: false, colour: "#00aaaa" },
|
||||
{ name: `Player 4`, host: false, colour: "#ffaaff" },
|
||||
{ name: `Player 1`, host: true, colour: "#00aa00", ship: "space-shuttle" },
|
||||
{ name: `Player 2`, host: false, colour: "#7400b8", ship: "space-shuttle" },
|
||||
{ name: `Player 3`, host: false, colour: "#faa307", ship: "space-shuttle" },
|
||||
{ name: `Player 4`, host: false, colour: "#b7094c", ship: "space-shuttle" },
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue