feat: adjusted tracing logic

pull/229/head
alestiago 3 years ago
parent 71a363b61a
commit 26e981f2ee

@ -35,7 +35,7 @@ mixin Traceable on Forge2DGame {
.forEach((bodyComponent) => bodyComponent.trace());
descendants()
.whereType<SpriteComponent>()
.whereType<HasPaint>()
.forEach((sprite) => sprite.setOpacity(0.5));
}
}

Loading…
Cancel
Save