refactor(*): Restructure game into reusable Arena/GameMode architecture with controller-driven ships, adding Free Play and Match modes

This commit is contained in:
Josh Creek
2026-07-18 15:34:11 +01:00
parent 14a8907038
commit 328831df1f
46 changed files with 664 additions and 406 deletions
+12
View File
@@ -0,0 +1,12 @@
class_name ShipController
extends Node
# Base class for anything that drives a Ship: local player input, an AI
# policy, or network replication. The ship pulls exactly one action per
# physics tick, so controllers stay deterministic and ordering-free.
# The base implementation returns a zero action — a ship with a base
# controller (or none) is inert but still physically simulated.
func get_action() -> ShipAction:
return ShipAction.new()