UNPKG
@battle-racing/br-common-lib
Version:
latest (4.5.0)
4.5.0
4.4.0
4.3.0
4.1.0
3.8.0
3.5.0
3.4.0
3.3.0
3.2.0
3.1.0
3.0.0
2.5.0
2.4.1
2.4.0
2.3.1
2.3.0
2.1.0
2.0.0
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
Common library for all Battle Racing Repositorios
@battle-racing/br-common-lib
/
dist
/
types
/
game
/
GameStatus.d.ts
10 lines
(9 loc)
•
294 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
declare
const
gameStatus
:
readonly
[
"non-started"
,
"active"
,
"yellow-flag"
,
"red-flag"
,
"finished"
];
export
type
GameStatus
= (
typeof
gameStatus)[
number
];
export
declare
enum
GameStatusEnum
{
NON_STARTED
=
0
,
ACTIVE
=
1
,
YELLOW_FLAG
=
2
,
RED_FLAG
=
3
,
FINISHED
=
4
}