diff options
Diffstat (limited to 'scripts/actors/actions/MovementAction.cs')
| -rw-r--r-- | scripts/actors/actions/MovementAction.cs | 6 |
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) |
