20 lines
346 B
GDScript
20 lines
346 B
GDScript
extends Node
|
|
|
|
class_name LevelData
|
|
|
|
static var state : LevelStates = LevelStates.NotInGame
|
|
static var sun_count : float
|
|
|
|
## Possible states of level
|
|
enum LevelStates {
|
|
## The game is during plant pick stage
|
|
PlantPick,
|
|
## The game is not yet started
|
|
Pregame,
|
|
## Game started
|
|
Game,
|
|
## Game ended
|
|
Postgame,
|
|
## Not in a level,
|
|
NotInGame
|
|
}
|