changement du scene manager, amélioration du cockpit et autres

* refonte du scene manager
* refonte du audio manager
* premier rework des plantes
* nettoyage des dossiers/fichiers
* renommage de planète en region
* fix des run
This commit is contained in:
2026-01-23 18:06:27 +01:00
parent 62b34473b6
commit 83d462f2f4
247 changed files with 2964 additions and 3159 deletions

View File

@@ -2,8 +2,8 @@ extends Area2D
class_name Entity
var terrain : Terrain
var planet : Planet :
get(): return terrain if terrain is Planet else null
var region : Region :
get(): return terrain if terrain is Region else null
func save() -> EntityData:
return null

View File

@@ -1,3 +1,4 @@
@abstract
extends Resource
class_name EntityData
@@ -9,5 +10,4 @@ func _init(e : Entity):
func get_position() -> Vector2:
return position
func load() -> Entity:
return null
@abstract func load_entity() -> Entity