Overnap

게임 관련 타입 추가

...@@ -26,3 +26,14 @@ export interface Vector { ...@@ -26,3 +26,14 @@ export interface Vector {
26 x: number; 26 x: number;
27 y: number; 27 y: number;
28 } 28 }
29 +
30 +export type Role = "drawer" | "guesser" | "winner" | "spectator";
31 +
32 +export interface RoundData {
33 + round: number;
34 + duration: number;
35 + roles: {
36 + username: string;
37 + role: Role;
38 + }[];
39 +};
......