Showing
1 changed file
with
11 additions
and
0 deletions
... | @@ -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 | +}; | ... | ... |
-
Please register or login to post a comment