Adding required nectar to game state
This commit is contained in:
parent
5865778c77
commit
0127257d05
3 changed files with 11 additions and 1 deletions
|
|
@ -1,6 +1,12 @@
|
|||
class_name GameStateManager extends Node
|
||||
|
||||
var gathered_nectar : int = 0
|
||||
var gathered_nectar : int = 0 :
|
||||
get:
|
||||
return gathered_nectar
|
||||
set(value):
|
||||
gathered_nectar = value
|
||||
|
||||
@export var required_nectar : int = 200
|
||||
|
||||
func _ready():
|
||||
Log.pr("GameStateManager ready")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue