diff options
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); } |
