Add new kits & recraft nerf
This commit is contained in:
@@ -110,6 +110,13 @@ class GameManager(
|
||||
!( currentState as BattleState ).afterFeast )
|
||||
}
|
||||
|
||||
fun isBefore(
|
||||
stateType: GameStateTypes
|
||||
): Boolean
|
||||
{
|
||||
return getCurrentStateType()?.points!! < stateType.points
|
||||
}
|
||||
|
||||
fun shutdown()
|
||||
{
|
||||
currentState?.onExit( null )
|
||||
@@ -118,6 +125,14 @@ class GameManager(
|
||||
|
||||
}
|
||||
|
||||
enum class GameStateTypes {
|
||||
WAITING, PRE_START, IMMUNITY, BATTLE, FEAST, DEATHMATCH, END
|
||||
enum class GameStateTypes(
|
||||
val points: Int
|
||||
) {
|
||||
WAITING( 0 ),
|
||||
PRE_START( 1 ),
|
||||
IMMUNITY( 2 ),
|
||||
BATTLE( 3 ),
|
||||
FEAST( 4 ),
|
||||
DEATHMATCH( 5 ),
|
||||
END( 6 )
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user