blob: d5199f9725fc4f794a9e201cf7c8e1c1729370f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using Godot;
using System;
public abstract partial class DirectionalAction : Action
{
public Vector2I Offset { get; private set; }
public DirectionalAction(Actor actor, Vector2I offset) : base(actor)
{
Offset = offset;
}
protected Actor GetBlockingActorAtPosition(Vector2I pos) {
return Map_Data.GetBlockingActorAtPosition(pos);
}
}
|