starting to build out more actions and pegs, first thing to do tho is rework movement / targeting a little bit
This commit is contained in:
+6
-1
@@ -20,7 +20,7 @@ public partial class PegAction : Node2D
|
||||
|
||||
public virtual void DoImmediately(Peg PEG)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public virtual bool MeetsCriteria(Peg PEG)
|
||||
@@ -34,4 +34,9 @@ public partial class PegAction : Node2D
|
||||
{
|
||||
_usesRemaining = _usesMax;
|
||||
}
|
||||
|
||||
public virtual Vector2 Target(Peg PEG)
|
||||
{
|
||||
return PEG.GlobalPosition;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user