diff --git a/common/src/index.ts b/common/src/index.ts index 68206e3..f9abf23 100644 --- a/common/src/index.ts +++ b/common/src/index.ts @@ -8,7 +8,6 @@ // Server-Client Communications export * from "./types/ServerResponse"; - export * from "./types/events/SaveShip"; export * from "./types/events/server_info"; // Lobby events diff --git a/common/src/types/events/SaveShip.ts b/common/src/types/events/SaveShip.ts deleted file mode 100644 index 0f87622..0000000 --- a/common/src/types/events/SaveShip.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { ServerResponse } from "../ServerResponse"; - -/** The data the client must provide in the `put.player.design` event. */ -export interface SaveShip { - colour: string; - ship: string; -} - -/** - * The event that get's sent out to all the other players on a successful - * `put.player.design` event - */ -export interface DesignUpdate { - player: string; - ship: string; - colour: string; -} - -/** The response to the client that triggered the `put.player.design` event. */ -export interface SaveShipResponse extends ServerResponse {} \ No newline at end of file