Add a type for the fuel card representation
This commit is contained in:
parent
ec37881de7
commit
15da1158c7
2 changed files with 7 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
export * from "./types/Colour";
|
||||
export * from "./types/Spaceship";
|
||||
export * from "./types/PlayerData";
|
||||
export * from "./types/FuelCard";
|
||||
|
||||
// Server-Client Communications
|
||||
export * from "./types/ServerResponse";
|
||||
|
|
|
|||
6
common/src/types/FuelCard.ts
Normal file
6
common/src/types/FuelCard.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export interface FuelCard {
|
||||
magnitude: number;
|
||||
symbol: string;
|
||||
name: string;
|
||||
type: "movement" | "stationary";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue