Introduce updateTree (#1158)

* Introduce updateTree

* Update tests

* Fix update for game-in-game situations

* Add dartdoc to updateTree
This commit is contained in:
Lukas Klingsbo
2021-12-03 14:01:46 +01:00
committed by GitHub
parent bc31e11d29
commit fe162c6d90
29 changed files with 43 additions and 49 deletions

View File

@ -52,7 +52,6 @@ class MyCollidable extends PositionComponent
@override
void update(double dt) {
super.update(dt);
if (_isWallHit) {
removeFromParent();
return;