mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
Some more linting
This commit is contained in:
@ -552,10 +552,9 @@ class MyGame extends BaseGame {
|
|||||||
|
|
||||||
Future<BaseGame> loadGame() async {
|
Future<BaseGame> loadGame() async {
|
||||||
Flame.initializeWidget();
|
Flame.initializeWidget();
|
||||||
final gameSize = await Flame.util.initialDimensions();
|
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
|
||||||
return MyGame(screenSize: gameSize);
|
return MyGame();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A curve which maps sinus output (-1..1,0..pi)
|
/// A curve which maps sinus output (-1..1,0..pi)
|
||||||
|
|||||||
Reference in New Issue
Block a user