moved bucket to the playercontroller, changed tweenStages to a list of pegactions, so processtween takes in actions and builds off of that so that movement/actions priority will line up properly. change tweenstages key to be priority:loop. added category to actions to divide into movement vs action

This commit is contained in:
2026-06-30 02:46:00 -04:00
parent 982c3e6786
commit c8e81e4f48
12 changed files with 48 additions and 41 deletions
-3
View File
@@ -8,12 +8,10 @@ public partial class PlayArea : Node2D
public Node2D _leftEdge, _rightEdge;
public Area2D _region;
public Map _map;
public Bucket _bucket;
public override void _Ready()
{
base._Ready();
_bucket = GetNode<Bucket>("Bucket");
_region = GetNode<Area2D>("Region");
_leftEdge = GetNode<Node2D>("LeftEdge");
@@ -29,7 +27,6 @@ public partial class PlayArea : Node2D
public override void _Process(double delta)
{
base._Process(delta);
_bucket.Move();
}
public void HighlightCells()