Split 2D and 3D scripts

- Moved data structure code to /scripts
This commit is contained in:
Tony Bark 2023-12-14 02:29:02 -05:00
parent 36edaaf17b
commit ceae7ebfa6
23 changed files with 77 additions and 21 deletions

View file

@ -1,5 +0,0 @@
extends Resource
class_name DataMap
@export var cash:int = 10000
@export var structures:Array[DataStructure]

View file

@ -1,6 +0,0 @@
extends Resource
class_name DataStructure
@export var position:Vector2i
@export var orientation:int
@export var structure:int

View file

@ -1,8 +0,0 @@
extends Resource
class_name Structure
@export_subgroup("Model")
@export var model:PackedScene # Model of the structure
@export_subgroup("Gameplay")
@export var price:int # Price of the structure when building