mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
56 lines
855 B
Haxe
56 lines
855 B
Haxe
package funkin;
|
|
|
|
class Highscore
|
|
{
|
|
public static var tallies:Tallies = new Tallies();
|
|
}
|
|
|
|
@:forward
|
|
abstract Tallies(RawTallies)
|
|
{
|
|
public function new()
|
|
{
|
|
this =
|
|
{
|
|
combo: 0,
|
|
missed: 0,
|
|
shit: 0,
|
|
bad: 0,
|
|
good: 0,
|
|
sick: 0,
|
|
killer: 0,
|
|
totalNotes: 0,
|
|
totalNotesHit: 0,
|
|
maxCombo: 0,
|
|
isNewHighscore: false
|
|
}
|
|
}
|
|
}
|
|
|
|
typedef RawTallies =
|
|
{
|
|
var combo:Int;
|
|
|
|
/**
|
|
* How many notes you let scroll by.
|
|
*/
|
|
var missed:Int;
|
|
|
|
var shit:Int;
|
|
var bad:Int;
|
|
var good:Int;
|
|
var sick:Int;
|
|
var killer:Int;
|
|
var maxCombo:Int;
|
|
var isNewHighscore:Bool;
|
|
|
|
/**
|
|
* How many notes total that you hit. (NOT how many notes total in the song!)
|
|
*/
|
|
var totalNotesHit:Int;
|
|
|
|
/**
|
|
* How many notes PASSED BY AND/OR HIT!!!
|
|
*/
|
|
var totalNotes:Int;
|
|
}
|