address comments

This commit is contained in:
Luan Nico
2020-08-18 23:39:40 -04:00
parent 1da1d4bb98
commit 01b3863353
10 changed files with 13 additions and 13 deletions

View File

@ -31,7 +31,7 @@ class Square extends PositionComponent with HasGameRef<MyGame> {
void render(Canvas c) {
super.render(c);
c.drawRect(toZeroRect(), white);
c.drawRect(toOriginRect(), white);
c.drawRect(const Rect.fromLTWH(0, 0, 3, 3), red);
c.drawRect(Rect.fromLTWH(width / 2, height / 2, 3, 3), blue);
}