feat: add S1 walking skeleton

This commit is contained in:
goose
2026-09-30 20:11:16 -04:00
parent fb52208a06
commit d18c8e26fa
252 changed files with 21191 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
class_name ActorState
extends RefCounted
var id: StringName
var cell: Vector2i
var hit_points: int
var max_hit_points: int
var attack_damage: int
func _init(new_id: StringName, new_cell: Vector2i, new_hit_points: int, new_attack_damage: int) -> void:
id = new_id
cell = new_cell
hit_points = new_hit_points
max_hit_points = new_hit_points
attack_damage = new_attack_damage
func is_alive() -> bool:
return hit_points > 0