Fixed with regards to the comments

This commit is contained in:
Lukas Klingsbo
2020-09-30 20:49:19 +02:00
parent 49029db6ac
commit 0f9fc2c60e
20 changed files with 74 additions and 78 deletions

View File

@ -26,9 +26,9 @@ class MyGame extends BaseGame with TapDetector {
final green = Paint()..color = const Color(0xAA338833);
final red = Paint()..color = const Color(0xAA883333);
final orange = Paint()..color = const Color(0xAABB6633);
greenSquare = Square(green, 100, 100);
redSquare = Square(red, 200, 200);
orangeSquare = Square(orange, 200, 400);
greenSquare = Square(green, Vector2.all(100));
redSquare = Square(red, Vector2.all(200));
orangeSquare = Square(orange, Vector2(200, 400));
add(greenSquare);
add(redSquare);
add(orangeSquare);