fuck you github
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
2651
|
||||
2652
|
||||
@@ -0,0 +1,19 @@
|
||||
package funkin.system.framerate;
|
||||
|
||||
import funkin.utils.MemoryUtil;
|
||||
|
||||
class FlixelInfo extends FramerateCategory {
|
||||
public function new() {
|
||||
super("Flixel Info");
|
||||
}
|
||||
|
||||
public override function __enterFrame(t:Int) {
|
||||
if (alpha <= 0.05) return;
|
||||
_text = 'State: ${Type.getClassName(Type.getClass(FlxG.state))}';
|
||||
_text += '\nObject Count: ${FlxG.state.members.length}';
|
||||
_text += '\nCamera Count: ${FlxG.cameras.list.length}';
|
||||
|
||||
this.text.text = _text;
|
||||
super.__enterFrame(t);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user