Moving size from BaseGame to Game

This commit is contained in:
Erick Zanardo
2020-12-11 11:45:23 -03:00
parent f917920f45
commit 11511b98a8
12 changed files with 55 additions and 75 deletions

View File

@ -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(