Renamed a bunch of player stuff to pawn stuff and implemented extensive work on getting single-address 'netplay' code working. Not sure if I've created issues with single player but in theory it should all transfer across as if the player is simply always the host.

This commit is contained in:
2026-01-08 07:15:20 -05:00
parent 9fe376e27e
commit ec02685065
69 changed files with 1525 additions and 708 deletions

View File

@@ -0,0 +1,17 @@
class_name PawnLevelData extends Node
class TrapData:
var type : Trap.Type
var quantity : int
var max : int
func _init(type : Trap.Type, quantity : int, max : int) -> void:
self.type = type
self.quantity = quantity
self.max = max
var traps : Array[TrapData] = []
var active_trap : int = 0
var life : int = 100
var max_life : int = 100