add documentation for Scene
This commit is contained in:
@@ -1,7 +1,18 @@
|
|||||||
import 'package:thermion_dart/thermion_dart.dart';
|
import 'package:thermion_dart/thermion_dart.dart';
|
||||||
|
|
||||||
abstract class Scene {
|
abstract class Scene {
|
||||||
|
|
||||||
|
/// Adds all renderable entities in [asset] to this scene.
|
||||||
|
///
|
||||||
|
///
|
||||||
Future add(covariant ThermionAsset asset);
|
Future add(covariant ThermionAsset asset);
|
||||||
|
|
||||||
|
/// Adds [entity] to this scene (which is assumed to have a Renderable
|
||||||
|
/// component).
|
||||||
|
///
|
||||||
Future addEntity(ThermionEntity entity);
|
Future addEntity(ThermionEntity entity);
|
||||||
|
|
||||||
|
/// Removes all renderable entities in [asset] from this scene.
|
||||||
|
///
|
||||||
Future remove(covariant ThermionAsset asset);
|
Future remove(covariant ThermionAsset asset);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user