mirror of
https://github.com/tonytins/citylimits
synced 2025-06-25 17:34:43 -04:00
Split 2D and 3D scripts
- Moved data structure code to /scripts
This commit is contained in:
parent
36edaaf17b
commit
ceae7ebfa6
23 changed files with 77 additions and 21 deletions
|
@ -1,5 +0,0 @@
|
|||
extends Resource
|
||||
class_name DataMap
|
||||
|
||||
@export var cash:int = 10000
|
||||
@export var structures:Array[DataStructure]
|
|
@ -1,6 +0,0 @@
|
|||
extends Resource
|
||||
class_name DataStructure
|
||||
|
||||
@export var position:Vector2i
|
||||
@export var orientation:int
|
||||
@export var structure:int
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue