feat: Add FpsComponent and FpsTextComponent (#1595)

This commit is contained in:
Lukas Klingsbo
2022-05-11 19:49:14 +02:00
committed by GitHub
parent 02be4acd87
commit 4c68c2b0a2
14 changed files with 166 additions and 71 deletions

View File

@ -24,7 +24,6 @@ class DebugSystem extends BaseSystem {
statusPainter.render(
canvas,
[
'FPS: ${(world!.game as FPSCounter).fps()}',
'Entities: ${world!.entities.length}',
].join('\n'),
Vector2.zero(),