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:
@@ -3,6 +3,7 @@ using System;
|
||||
|
||||
public partial class PegAction : Node2D
|
||||
{
|
||||
public string _category;
|
||||
public int _priority, _healthChange, _cost, _range, _usesMax, _usesRemaining, _triggers = 0;
|
||||
public Sprite2D _image;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user