58 Commits

Author SHA1 Message Date
16eaef3bb1 🏷 Backport some code improvements from the null-safety branch (#603) 2021-01-08 23:25:29 -03:00
4a265b8b36 Explicitly set what the effect modifies (#585)
* Explicitly set what the effect modifies

* Add changelog entry
2020-12-21 18:46:29 +01:00
fdb12f3265 Effect shouldn't affect non-used properties (#583)
* Effect shouldn't affect non-used properties

* Add changelog entry

* Check proper size variables
2020-12-20 21:28:18 +01:00
cf68a32c1b Keep component unopinionated 2020-12-09 10:10:11 +00:00
b9285c9b4d Correctly change end state in CombinedEffect 2020-11-07 15:21:21 +01:00
0d7a2a5c12 Do not reset state if not root effect 2020-11-07 15:21:21 +01:00
39c2663798 Function for set component to init state 2020-11-07 15:21:21 +01:00
aaa35fb35a Fixed some Sequence bugs 2020-11-07 15:21:21 +01:00
c17c6f2bc2 Formatting 2020-11-07 15:21:21 +01:00
601bfcce5f Pause effects 2020-11-07 15:21:21 +01:00
d77c8d9c79 Duration can not be zero 2020-11-07 15:21:21 +01:00
09adb4972c Always set end state 2020-11-07 15:21:21 +01:00
84ca546ccb Round the floating point delta 2020-11-07 15:21:21 +01:00
eeb22ea3ef Debugging 2020-11-07 15:21:21 +01:00
697a592c21 Never reset drift time 2020-11-07 15:21:21 +01:00
b3615f1cac Do not reset drift time internally 2020-11-07 15:21:21 +01:00
467181ba75 Assert message for speed or duration needed 2020-11-07 15:21:21 +01:00
5bfd47be25 MoveEffect test for alternation+infinity 2020-11-07 15:20:40 +01:00
c4e2049450 Generalize position effect tests 2020-11-07 15:20:40 +01:00
56baa115d8 Add duration argument to effects 2020-11-07 15:20:40 +01:00
42811026b7 Duration for effects 2020-11-07 15:20:40 +01:00
b4b20655e0 Enable strong strict mode on dartalyzer 2020-10-14 22:36:14 -04:00
5329efa861 Fix last bugs from rebase 2020-10-06 23:14:07 +02:00
ca464748df Change to relative imports 2020-10-06 15:42:17 +02:00
7e9201f3c6 Remove unused imports and add meta annotation 2020-10-06 15:42:17 +02:00
795ff6be1e Fix formatting 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
079828a6f8 Use a list of vector2 for MoveEffect 2020-10-06 15:42:17 +02:00
eb70fe72d8 Formatting 2020-10-06 15:27:35 +02:00
18048b16a3 Do a full reset on all infinite effects 2020-10-06 15:27:35 +02:00
b60f45c388 Use a list of vector2 for MoveEffect 2020-10-06 15:27:35 +02:00
30460f2f00 isRelative should default to false 2020-09-23 16:10:02 +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
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
6f836ee36c Extract each component to their own file 2020-08-03 13:08:41 -04:00
acde967bbc Fix formatting 2020-06-24 11:50:24 +02:00
9168ef3836 onComplete callback for effects 2020-06-24 11:46:33 +02:00
d2e7880e61 Fix formatting 2020-06-05 22:23:05 +02:00
fc67a61168 Correct drift modifier for when effect is finished 2020-06-05 22:23:05 +02:00
4b16046367 Correct drift modifier 2020-06-05 22:23:05 +02:00
c0b95fb425 Fix formatting 2020-05-27 21:23:50 +02:00
dc874dd29e Removed type specific initialization in SequenceEffect 2020-05-27 21:20:22 +02:00
5d3939b906 Update according to comments 2020-05-26 17:47:39 +02:00
65b0193cb6 Sequence effect with example 2020-05-26 17:47:06 +02:00
b46cea5112 Add rotate effect as export 2020-05-26 17:47:06 +02:00