summaryrefslogtreecommitdiff
path: root/scripts/actors/actions/MovementAction.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-17 20:49:03 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-17 20:49:03 -0300
commitbd8a14e5d22ee7e4e53a1b3c8bfe2b35328632e5 (patch)
treec91a87d683884e468a8c4e2079dbf0d80b81396c /scripts/actors/actions/MovementAction.cs
parentbf74afcdd07e59b1a48dbfacdce9d52fad765865 (diff)
Attack
Diffstat (limited to 'scripts/actors/actions/MovementAction.cs')
-rw-r--r--scripts/actors/actions/MovementAction.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/actors/actions/MovementAction.cs b/scripts/actors/actions/MovementAction.cs
index 6fa3491..3b203ca 100644
--- a/scripts/actors/actions/MovementAction.cs
+++ b/scripts/actors/actions/MovementAction.cs
@@ -1,12 +1,10 @@
using Godot;
using System;
-public partial class MovementAction : Action
+public partial class MovementAction : DirectionalAction
{
- public Vector2I Offset { get; private set; }
- public MovementAction(Vector2I offset)
+ public MovementAction(Vector2I offset) : base(offset)
{
- Offset = offset;
}
public override void Perform(Game game, Actor actor)