Changed resource spawning
added interact functionality temp added zoom with scroll wheel
This commit is contained in:
@@ -6,6 +6,13 @@ signal changed_resource
|
||||
|
||||
@export var resources := {}
|
||||
|
||||
func _on_gained_resource(res: GameResource) -> void:
|
||||
print("Gained Resource: %s" % res)
|
||||
var changed_resources := {
|
||||
res: res.pickup_value
|
||||
}
|
||||
changed_resource.emit(ResourceChangedSignal.new(changed_resources))
|
||||
|
||||
#func _on_timer_timeout() -> void:
|
||||
#var corrupted_resources := Grid.get_corrupted_resources()
|
||||
#if corrupted_resources.size() > 0:
|
||||
|
||||
Reference in New Issue
Block a user