diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-17 21:45:07 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-17 21:45:07 -0300 |
| commit | 240156765d88db25dd092fc320005cdb5f28d7a7 (patch) | |
| tree | 2fadb2e7ef9409744f1d086f8f81771a46de2957 /scripts/actors/Actor.cs | |
| parent | e9701f8ca459fa0015d78cacdc61aee904675598 (diff) | |
Refactor no sistema de ações
Diffstat (limited to 'scripts/actors/Actor.cs')
| -rw-r--r-- | scripts/actors/Actor.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/actors/Actor.cs b/scripts/actors/Actor.cs index f35939a..f429ead 100644 --- a/scripts/actors/Actor.cs +++ b/scripts/actors/Actor.cs @@ -1,10 +1,13 @@ using Godot; [GlobalClass] -public abstract partial class Actor : Sprite2D { +public abstract partial class Actor : Sprite2D +{ [Export] private ActorDefinition definition; private Vector2I gridPosition = Vector2I.Zero; + [Export] + public DungeonLevel Map { get; private set; } public Vector2I GridPosition { set { gridPosition = value; |
