public void Push(Vector2 direction) { if (MovementTween.IsActive()) { return; } if (TestMove(GlobalTransform, direction * 6)) { return; } AnimationPlayer.Play("Roll"); StartMovementTween(direction); }
public void Push(Vector2 direction) { if (MovementTween.IsActive()) { return; } if (TestMove(GlobalTransform, direction * 6)) { return; } AnimationPlayer.Play("Roll"); StartMovementTween(direction); }