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/entities/actors/Enemy.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/entities/actors/Enemy.cs') diff --git a/scripts/entities/actors/Enemy.cs b/scripts/entities/actors/Enemy.cs index 19bcd2c..9c06417 100644 --- a/scripts/entities/actors/Enemy.cs +++ b/scripts/entities/actors/Enemy.cs @@ -16,13 +16,15 @@ public enum AIType /// public partial class Enemy : Actor { + private EnemyDefinition definition; /// - /// A alma do ator. Gera ações que são executadas todo turno. - /// + /// A alma do ator. Gera ações que são executadas todo turno. + /// public BaseAI Soul { get; private set; } public Enemy(Vector2I initialPosition, MapData map, EnemyDefinition definition) : base(initialPosition, map, definition) { + this.definition = definition; SetDefinition(definition); } -- cgit v1.2.3