10 Commits

Author SHA1 Message Date
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
692213d5a4 Properly propagate onMount and onRemove to children (#579)
* Fix rendering of children

* Game loop handles other restore

* Properly propagate onMount and onRemove to children

* Use BaseGame on gestures to minimize confusion

* Fix linting

* All children don't need preparation

* Add composability example

* gameRef might not be defined

* Add mustCallSuper

* isMounted on game

* Remove unused gameRef argument

* Made isMounted only modifiable by the component

* Move dartdoc to public isMounted

* Fix formatting
2020-12-21 12:42:45 +01:00
2f2ab1341e game widget (#533) 2020-12-09 10:10:12 +00:00
9d9d94c1b3 Fix examples dart version to allow extensions 2020-09-27 15:28:44 -04:00
3c48aa345d Fixes 2020-09-27 15:15:58 -04:00
a6023f4cfe Fixes 2020-09-27 15:10:42 -04:00
63ad21d421 Fix usages 2020-09-27 14:52:05 -04:00
15d9210b72 More lints fixes 2020-09-12 11:54:53 -03:00
a35c2e397c Updating changelog and fixing format 2020-09-12 11:50:30 -03:00
3e4143a7ac Updating with PR suggestions 2020-09-12 11:47:32 -03:00