From f25d1ef965a11ac6da0b38f982aa138182662988 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 6 Jan 2022 16:28:48 -0700 Subject: [PATCH] Remove unused file --- common/src/index.ts | 1 - common/src/types/events/SaveShip.ts | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100644 common/src/types/events/SaveShip.ts 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