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

@ -16,7 +16,7 @@ void main() {
runApp(GameWidget(game: ExampleGame()));
}
class ExampleGame extends OxygenGame with FPSCounter {
class ExampleGame extends OxygenGame {
@override
Future<void> init() async {
if (kDebugMode) {