still working out movement
This commit is contained in:
@@ -17,6 +17,10 @@ public partial class ThrustSpear : PegAction
|
||||
public override Tween CreateAnimation(Peg PEG)
|
||||
{
|
||||
MapCell target = Target(PEG);
|
||||
if (target == PEG._cell)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
Tween subtween = CreateTween();
|
||||
|
||||
subtween.TweenProperty(_image, "visible", true, 0.0f);
|
||||
@@ -36,5 +40,4 @@ public partial class ThrustSpear : PegAction
|
||||
return PEG.Goal();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user