Rewrote hit window, score screen, fixed replays.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import flixel.math.FlxMath;
|
||||
|
||||
class HelperFunctions
|
||||
{
|
||||
public static function truncateFloat( number : Float, precision : Int): Float {
|
||||
@ -6,4 +8,8 @@ class HelperFunctions
|
||||
num = Math.round( num ) / Math.pow(10, precision);
|
||||
return num;
|
||||
}
|
||||
|
||||
public static function GCD(a, b) {
|
||||
return b == 0 ? FlxMath.absInt(a) : GCD(b, a % b);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user