mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 20:36:31 +08:00
destroy -> remove for components
This commit is contained in:
@ -19,5 +19,5 @@ class TimerComponent extends Component {
|
||||
void render(Canvas canvas) {}
|
||||
|
||||
@override
|
||||
bool destroy() => timer.finished;
|
||||
bool shouldRemove() => timer.finished;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user