mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
Add FSM components for player and enemy state management, including initialization and module resolution
This commit is contained in:
parent
18683c0680
commit
b6cc5a00e8
57 changed files with 526 additions and 506 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@tool
|
||||
@tool
|
||||
class_name BaseViewer
|
||||
extends PanelContainer
|
||||
|
||||
|
|
@ -173,4 +173,3 @@ func _should_show_3d() -> bool:
|
|||
func _log_to_dock(message: String, color: Color = Color.WHITE) -> void:
|
||||
if _dock and _dock.has_method("add_log"):
|
||||
_dock.call("add_log", message, color)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@tool
|
||||
@tool
|
||||
extends BaseCreatorDialog
|
||||
|
||||
# Popup window for configuring bullet parameters before creation
|
||||
|
|
@ -371,4 +371,3 @@ func _show_error(message: String) -> void:
|
|||
dialog.title = "Error"
|
||||
add_child(dialog)
|
||||
dialog.popup_centered()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@tool
|
||||
@tool
|
||||
extends BaseViewer
|
||||
|
||||
# Displays all bullets from the Resources/Bullets folders in a grid format
|
||||
|
|
@ -330,4 +330,3 @@ func _open_bullet_dialog(is_3d: bool, prefill_data: Dictionary = {}) -> void:
|
|||
dialog.call_deferred("setup_bullet", _editor_interface, is_3d, prefill_data)
|
||||
dialog.call_deferred("connect", "bullet_data_confirmed", _on_duplicate_bullet_confirmed)
|
||||
dialog.call_deferred("popup_centered")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@tool
|
||||
@tool
|
||||
extends BaseCreatorDialog
|
||||
|
||||
signal enemy_data_confirmed(enemy_data: Dictionary)
|
||||
|
|
@ -303,6 +303,3 @@ func _on_create_pressed() -> void:
|
|||
_save_dialog_size_and_position()
|
||||
enemy_data_confirmed.emit(enemy_data)
|
||||
queue_free()
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@tool
|
||||
@tool
|
||||
extends BaseViewer
|
||||
|
||||
# Displays all enemies from directory structure or database
|
||||
|
|
@ -224,5 +224,3 @@ func _on_create_enemy_pressed() -> void:
|
|||
dialog.enemy_data_confirmed.connect(func(enemy_data):
|
||||
duplicate_enemy_requested.emit(enemy_data)
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -511,4 +511,3 @@ func _create_enemy_resource(path: String, enemy_data: Dictionary) -> bool:
|
|||
return false
|
||||
|
||||
return true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue