Fixes build (tests), adding ditance method to position, fix linting (formating, quotes), removed uneeded new keywords everywhere

This commit is contained in:
Luan Nico
2019-03-10 15:17:53 -03:00
parent ee429d2cd4
commit 9c69937b5b
35 changed files with 165 additions and 165 deletions

View File

@ -10,7 +10,7 @@ import 'package:ordered_set/ordered_set.dart';
/// It resembles [BaseGame]. It has an [components] property and an [add] method
mixin ComposedComponent on Component {
OrderedSet<Component> components =
new OrderedSet(Comparing.on((c) => c.priority()));
OrderedSet(Comparing.on((c) => c.priority()));
@override
render(Canvas canvas) {