mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 20:36:31 +08:00
Moving size from BaseGame to Game
This commit is contained in:
@ -10,6 +10,11 @@ class ExampleGame extends Game with TapDetector {
|
||||
@override
|
||||
void update(double dt) {}
|
||||
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
print('game loaded');
|
||||
}
|
||||
|
||||
@override
|
||||
void render(Canvas canvas) {
|
||||
canvas.drawRect(
|
||||
|
||||
Reference in New Issue
Block a user