diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 16:58:58 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 16:58:58 -0300 |
| commit | 6f2c2edd52171a4df7f35de695c9b2e7801d3e5f (patch) | |
| tree | 509002136987182309a934623b19d19393e306e3 /scripts/entities/actors/Enemy.cs | |
| parent | 9953c9a5818baa392a48a4d18339c73f3b7a814e (diff) | |
Preparação para itens
Diffstat (limited to 'scripts/entities/actors/Enemy.cs')
| -rw-r--r-- | scripts/entities/actors/Enemy.cs | 6 |
1 files changed, 4 insertions, 2 deletions
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 /// </summary> public partial class Enemy : Actor { + private EnemyDefinition definition; /// <summary> - /// A alma do ator. Gera ações que são executadas todo turno. - /// </summary> + /// A alma do ator. Gera ações que são executadas todo turno. + /// </summary> public BaseAI Soul { get; private set; } public Enemy(Vector2I initialPosition, MapData map, EnemyDefinition definition) : base(initialPosition, map, definition) { + this.definition = definition; SetDefinition(definition); } |
