32 Commits

Author SHA1 Message Date
e8ee7a3a82 Move relevant parts from PositionComponent to BaseComponent 2020-12-09 10:10:11 +00:00
cf68a32c1b Keep component unopinionated 2020-12-09 10:10:11 +00:00
8665172ed9 Take angle into account for taps 2020-12-09 10:10:11 +00:00
1317532210 fix _debugPaint stroke width for web 2020-12-09 10:07:35 +00:00
81eaf05b22 Use booleans instead of methods for simple values 2020-11-15 18:56:17 +01:00
0135f93493 Simplify BaseGame interactions 2020-11-15 01:18:49 +01:00
4af9a32145 Merge pull request #502 from flame-engine/luan.strict-mode
Enable strong strict mode on dartalyzer
2020-10-15 09:56:56 -04:00
b4b20655e0 Enable strong strict mode on dartalyzer 2020-10-14 22:36:14 -04:00
f0e1e2c03b Followup fix imports with new version of vscode-dart-import 2020-10-14 20:18:14 -04:00
f48bf4d654 All components must call super 2020-10-07 09:20:28 +02:00
7e9201f3c6 Remove unused imports and add meta annotation 2020-10-06 15:42:17 +02:00
f0349688a7 Generic effects so that they can be applied on all components 2020-10-06 15:42:17 +02:00
47aba31eff Fix resizable conflict (#483) 2020-10-06 14:13:31 +01:00
2319155df5 Fix formatting 2020-10-02 09:31:44 +02:00
49875f7f56 Change back SpriteAnimation fields to ints 2020-10-02 09:29:39 +02:00
697affce8c Update comments and naming of positional methods 2020-10-01 22:38:30 +02:00
28c535deb1 Add tests for anchor position 2020-09-30 21:33:52 +02:00
ee438fcb4e Formatting 2020-09-30 20:51:47 +02:00
0f9fc2c60e Fixed with regards to the comments 2020-09-30 20:49:19 +02:00
f97f20ab73 Vector2 for position and size on PositionComponent 2020-09-30 19:12:52 +02:00
d39701ac50 Add isRelative to some effects 2020-09-23 16:06:40 +02:00
7bc9c9a3a7 Create extensions for Size and Offset 2020-09-21 19:50:54 +02:00
64d113c3ce Formatting 2020-09-21 13:18:21 +02:00
385e60e554 setByPosition -> setPosition 2020-09-21 13:17:56 +02:00
540e021d8b Rename vector2_extension to vector2 2020-09-21 12:17:21 +02:00
50f8ffce3b Vector2 extension 2020-09-20 17:30:58 +02:00
c90f636136 Use delegate Vector2F class instead of Vector2 2020-09-18 00:00:13 +02:00
5edd5f0fbd Move from Position to Vector2 2020-09-10 01:16:25 +02:00
d0f23b6488 address comments 2020-08-18 23:40:06 -04:00
01b3863353 address comments 2020-08-18 23:39:40 -04:00
997f36edc4 Part 3: Great Composed Component Refactor 2020-08-08 19:49:10 -04:00
6f836ee36c Extract each component to their own file 2020-08-03 13:08:41 -04:00