Class SpriteSceneComponent
Implements
Constructors
constructor
-
Creates a new instance of the component for the given scene
Parameters
- scene: Scene
Defines the scene to register the component in
Returns SpriteSceneComponent
- scene: Scene
Properties
Readonlyname
name: "Sprite" = SceneComponentConstants.NAME_SPRITE
The component name helpfull to identify the component in the list of scene components.
scene
The scene the component belongs to.
Defines the sprite scene component responsible to manage sprites in a given scene.