diff options
Diffstat (limited to 'scripts/actors/Actor.cs')
| -rw-r--r-- | scripts/actors/Actor.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/actors/Actor.cs b/scripts/actors/Actor.cs index 9257bdc..b0e050f 100644 --- a/scripts/actors/Actor.cs +++ b/scripts/actors/Actor.cs @@ -17,6 +17,10 @@ public abstract partial class Actor : Sprite2D /// </summary> public MapData Map_Data { get; set; } + /// <summary> + /// Se o ator está vivo. + /// </summary> + public bool IsAlive { get => Hp > 0; } private Vector2I gridPosition = Vector2I.Zero; /// <summary> |
