seedpacket base
This commit is contained in:
parent
e1931f27e1
commit
2a7c402cd0
16 changed files with 345 additions and 24 deletions
20
scripts/level/level_data.gd
Normal file
20
scripts/level/level_data.gd
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue