@m2c2kit/core 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -548,9 +548,9 @@ declare class Scene extends Entity implements IDrawable, SceneOptions {
|
|
|
548
548
|
get backgroundColor(): RgbaColor;
|
|
549
549
|
set backgroundColor(backgroundColor: RgbaColor);
|
|
550
550
|
/**
|
|
551
|
-
* Code that will be called every time the screen is
|
|
551
|
+
* Code that will be called every time the screen is first presented.
|
|
552
552
|
*
|
|
553
|
-
* @remarks Use this callback to
|
|
553
|
+
* @remarks Use this callback to set entities to their initial state, if that state might be changed later. For example, if a scene allows players to place dots on a grid, the setup() method should ensure the grid is clear of any prior dots from previous times this scene may have been displayed. In addition, if entities should vary in each iteration, that should be done here.
|
|
554
554
|
*
|
|
555
555
|
* @param callback
|
|
556
556
|
*/
|