formatting files

This commit is contained in:
renato.soares
2019-08-09 14:31:19 -03:00
committed by Erick (CptBlackPixel)
parent 411a39fd72
commit 51d259038f
2 changed files with 10 additions and 5 deletions

View File

@ -29,7 +29,8 @@ class TiledGame extends BaseGame {
return;
}
for (TmxObject obj in obj.tmxObjects) {
final Rect rect = Rect.fromLTWH(obj.x.toDouble(), obj.y.toDouble(), 30.0, 30.0);
final Rect rect =
Rect.fromLTWH(obj.x.toDouble(), obj.y.toDouble(), 30.0, 30.0);
final position = Position(obj.x.toDouble(), obj.y.toDouble());
a.getSprite().renderPosition(canvas, position);
}