From 6f2c2edd52171a4df7f35de695c9b2e7801d3e5f Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 4 Sep 2025 16:58:58 -0300 Subject: Preparação para itens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/GUI/Details.cs | 8 +- scripts/Time/TurnManager.cs | 10 +-- scripts/entities/Entity.cs | 82 +++++++++++++++++++ scripts/entities/Entity.cs.uid | 1 + scripts/entities/EntityDefinition.cs | 17 ++++ scripts/entities/EntityDefinition.cs.uid | 1 + scripts/entities/actors/AI/HostileEnemyAI.cs | 4 +- scripts/entities/actors/Actor.cs | 70 +++------------- scripts/entities/actors/ActorDefinition.cs | 11 +-- scripts/entities/actors/Enemy.cs | 6 +- scripts/entities/actors/actions/BumpAction.cs | 2 +- .../entities/actors/actions/DirectionalAction.cs | 4 +- scripts/entities/actors/actions/MeleeAction.cs | 14 +++- scripts/entities/actors/actions/MovementAction.cs | 4 +- scripts/map/DungeonGenerator.cs | 12 +-- scripts/map/Map.cs | 14 ++-- scripts/map/MapData.cs | 94 +++++++++------------- 17 files changed, 197 insertions(+), 157 deletions(-) create mode 100644 scripts/entities/Entity.cs create mode 100644 scripts/entities/Entity.cs.uid create mode 100644 scripts/entities/EntityDefinition.cs create mode 100644 scripts/entities/EntityDefinition.cs.uid (limited to 'scripts') diff --git a/scripts/GUI/Details.cs b/scripts/GUI/Details.cs index 0e342aa..814d2ac 100644 --- a/scripts/GUI/Details.cs +++ b/scripts/GUI/Details.cs @@ -6,7 +6,7 @@ public partial class Details : CanvasLayer private static readonly LabelSettings lblSettings = GD.Load("res://assets/definitions/message_label_settings.tres"); private Map map; private VBoxContainer entityNames; - private Godot.Collections.Array actors = []; + private Godot.Collections.Array entities = []; private Godot.Collections.Array