mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-30 16:36:57 +08:00
Introduce updateTree (#1158)
* Introduce updateTree * Update tests * Fix update for game-in-game situations * Add dartdoc to updateTree
This commit is contained in:
@ -52,7 +52,6 @@ class MyCollidable extends PositionComponent
|
||||
|
||||
@override
|
||||
void update(double dt) {
|
||||
super.update(dt);
|
||||
if (_isWallHit) {
|
||||
removeFromParent();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user