Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Overnap
2021-06-10 03:55:45 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cac7aeb812677ecd24965f8c9c41962db708de32
cac7aeb8
1 parent
3d517de9
게임 관련 타입 추가
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
web/src/components/room/types.ts
web/src/components/room/types.ts
View file @
cac7aeb
...
...
@@ -26,3 +26,14 @@ export interface Vector {
x
:
number
;
y
:
number
;
}
export
type
Role
=
"drawer"
|
"guesser"
|
"winner"
|
"spectator"
;
export
interface
RoundData
{
round
:
number
;
duration
:
number
;
roles
:
{
username
:
string
;
role
:
Role
;
}[];
};
...
...
Please
register
or
login
to post a comment