Commit Graph

31 Commits

Author SHA1 Message Date
Luan Nico
9c38c9bd04 New linter rules (#676) 2021-02-23 12:16:23 -05:00
Erick
19ff80a0eb Adds checking for trailling commas on the project (#670)
* Testing a new linter option for trailling commas

* Checking trailling commas on linter
2021-02-18 11:31:45 -03:00
Erick
0d4df1acc2 Preventing errors caused by the premature use of size property on game (#659) 2021-02-15 17:07:58 -05:00
Renan
ccee9a466b Move files to src and comply with the dart package layout convention (#621)
* 👌 Use `Offset` type directly in `JoystickAction.update` calculations (#631)

* Move files to src and comply with the dart package layout convention

* Fixing widgets example

Co-authored-by: Serge Matveenko <lig@countzero.co>
Co-authored-by: Erick Zanardo <erickzanardoo@gmail.com>
2021-01-20 09:05:43 -03:00
Renan
2f2ab1341e game widget (#533) 2020-12-09 10:10:12 +00:00
Lukas Klingsbo
bf1066ad37 Simplify "closeTo"-logic in tests 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
74d9a81ba9 Test SequenceEffect containing alternating effects 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
2b9166db08 Test CombinedEffects that contain alternating effects 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
b9285c9b4d Correctly change end state in CombinedEffect 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
0d7a2a5c12 Do not reset state if not root effect 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
39c2663798 Function for set component to init state 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
6afe52b931 Break out effects handling 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
ef55063072 SequenceEffect test 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
bd22660800 Remove unnecessary part from SequenceEffect update 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
aaa35fb35a Fixed some Sequence bugs 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
b784114739 Remove unused import 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
d77c8d9c79 Duration can not be zero 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
09adb4972c Always set end state 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
84ca546ccb Round the floating point delta 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
eeb22ea3ef Debugging 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
39f6e06abb All current tests need floatRange 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
65f3828b23 Add float range to other peak tests 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
5e4c466716 Add float range to test suite where needed 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
e85aa78aef Remove unused import 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
ed4d493ecb Fix formatting 2020-11-07 15:21:21 +01:00
Lukas Klingsbo
ab39b51951 Added scale effect test 2020-11-07 15:20:40 +01:00
Lukas Klingsbo
09191d3961 Added rotate effect test 2020-11-07 15:20:40 +01:00
Lukas Klingsbo
5bfd47be25 MoveEffect test for alternation+infinity 2020-11-07 15:20:40 +01:00
Lukas Klingsbo
520266df23 Stabilize MoveEffect tests 2020-11-07 15:20:40 +01:00
Lukas Klingsbo
2fe73fc9f4 Add generic PositionComponent test helper 2020-11-07 15:20:40 +01:00
Lukas Klingsbo
c4e2049450 Generalize position effect tests 2020-11-07 15:20:40 +01:00