add removeEntity method on Scene

This commit is contained in:
Nick Fisher
2025-06-11 09:48:44 +08:00
parent 8f1da5e7bd
commit f053c2f852

View File

@@ -13,8 +13,14 @@ abstract class Scene {
/// Removes all renderable entities in [asset] from this scene. /// Removes all renderable entities in [asset] from this scene.
/// ///
///
Future remove(covariant ThermionAsset asset); Future remove(covariant ThermionAsset asset);
/// Removes [entity] from this scene.
///
///
Future removeEntity(ThermionEntity entity);
/// Renders an outline around [entity] with the given color. /// Renders an outline around [entity] with the given color.
/// ///