funkin.util.tools

Friday Night Funkin' API Reference

..
ArraySortTools

Contains code for sorting arrays using various algorithms.

ArrayTools

A static extension which provides utility functions for Arrays.

CompareFunction

A comparison function. Returns a negative number if the first argument is less than the second, a positive number if the first argument is greater than the second, or zero if the two arguments are equal.

FloatTools

Utilities for performing common math operations.

ICloneable

Implement this on a class to enable Array<T>.deepClone() to work on it. NOTE: T should be the type of the class that implements this interface.

ISingleton

An interface which applies a macro to add a Singleton instance property to the class.

Int64Tools

Why haxe.Int64 doesn't have a built-in toFloat function is beyond me.

IntTools

Utilities for performing common math operations.

IteratorTools

A static extension which provides utility functions for Iterators.

MapTools

A static extension which provides utility functions for Maps.

SongEventDataArrayTools

A static extension which provides utility functions for Array<SongEventData>s.

SongNoteDataArrayTools

A static extension which provides utility functions for Array<SongNoteData>s.

StringTools

A static extension which provides utility functions for Strings.