Add ship design constants in the shared module
This commit is contained in:
parent
ad9ad389b6
commit
d1e37d8fec
3 changed files with 43 additions and 0 deletions
17
common/src/data/colours.ts
Normal file
17
common/src/data/colours.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { IColour } from "../types/Colour";
|
||||
|
||||
/**
|
||||
* The colours that can be used by the user to make their ship unique. Each
|
||||
* player is assigned a random, unused, colour when they join the lobby.
|
||||
*/
|
||||
export const colours: IColour[] = [
|
||||
{ name: "Green", hex: "#00aa00" },
|
||||
{ name: "Blue", hex: "#0077b6" },
|
||||
{ name: "Red", hex: "#cb0b0a" },
|
||||
{ name: "Purple", hex: "#7400b8" },
|
||||
{ name: "Orange", hex: "#faa307" },
|
||||
{ name: "Light Green", hex: "#9ef01a" },
|
||||
{ name: "Magenta", hex: "#b7094c" },
|
||||
{ name: "Pink", hex: "#f72585" },
|
||||
{ name: "Yellow", hex: "#f9c80e" },
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue