Forgot to save these files
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user