#2 Collects resources
#8 Generates resources based on resource data #10 Shows total resources and adjusts for new resources
This commit is contained in:
8
scripts/game_resource.gd
Normal file
8
scripts/game_resource.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
class_name GameResource
|
||||
extends Resource
|
||||
|
||||
@export var atlas_location: Vector2i
|
||||
@export_range(-1, 1, 0.05) var spawn_region_min: float
|
||||
@export_range(-1, 1, 0.05) var spawn_region_max: float
|
||||
@export var pickup_value: int
|
||||
@export var name: String
|
||||
Reference in New Issue
Block a user