Adding required nectar to game state

This commit is contained in:
Dan Baker 2024-05-05 08:01:25 +01:00
parent 5865778c77
commit 0127257d05
3 changed files with 11 additions and 1 deletions

View file

@ -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")