Forgot to save these files

This commit is contained in:
NeeEoo
2024-03-19 00:30:21 +01:00
parent 72db6e1a6e
commit 16bd618ca8
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -59,8 +59,7 @@ typedef ChartEvent = {
var params:Array<Dynamic>;
}
@:enum
abstract ChartStrumLineType(Int) from Int to Int {
enum abstract ChartStrumLineType(Int) from Int to Int {
/**
* STRUMLINE IS MARKED AS OPPONENT - WILL BE PLAYED BY CPU, OR PLAYED BY PLAYER IF OPPONENT MODE IS ON
*/
@@ -62,7 +62,7 @@ class CharterStrumlineButton extends UISprite {
if(UIState.state.isOverlapping(button, button.__rect)) {
buttonScale.set(0.95, 0.95);
if (FlxG.mouse.justReleased && onClick != null) {
onClick();
onClick();
if (animationOnClick) pressAnimation();
}
}
@@ -96,7 +96,7 @@ class CharterStrumlineButton extends UISprite {
scaleTween = FlxTween.tween(buttonScaleOffset, {x: .015 * (extra ? 3 : 1), y: .02 * (extra ? 3 : 1)}, .12, {ease: FlxEase.circOut})
.then(FlxTween.tween(buttonScaleOffset, {x: 0, y: 0}, .1 + FlxG.random.float(.1, .3), {ease: FlxEase.circIn}));
if (!extra) return;
if (!extra) return;
if (angleTween != null) angleTween.cancel(); button.angle = 0;
angleTween = FlxTween.tween(button, {angle: 360}, .5, {ease: FlxEase.circInOut});