diff --git a/package-lock.json b/package-lock.json index 9a5dfc83..0db8286b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@next2d/player", - "version": "3.5.0", + "version": "3.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@next2d/player", - "version": "3.5.0", + "version": "3.6.0", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index c3cb9652..9bc020ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@next2d/player", - "version": "3.5.0", + "version": "3.6.0", "description": "Experience the fast and beautiful anti-aliased rendering of WebGL/WebGPU. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.", "author": "Toshiyuki Ienaga (https://github.com/ienaga/)", "license": "MIT", diff --git a/packages/display/src/Stage.ts b/packages/display/src/Stage.ts index e5a53006..a37447fe 100644 --- a/packages/display/src/Stage.ts +++ b/packages/display/src/Stage.ts @@ -98,6 +98,16 @@ export class Stage extends DisplayObjectContainer */ private _$backgroundColor: number; + /** + * @description Stageの機能を所持しているかを返却 + * Returns whether Stage functions are possessed. + * + * @type {boolean} + * @readonly + * @public + */ + public readonly isStage: boolean; + /** * @constructor * @public @@ -117,6 +127,7 @@ export class Stage extends DisplayObjectContainer // private this._$ready = false; this._$backgroundColor = -1; + this.isStage = true; } /** diff --git a/src/index.ts b/src/index.ts index 937ab919..32a3817e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ import { Next2D } from "@next2d/core"; if (!("next2d" in window)) { - console.log("%c Next2D Player %c 3.5.0 %c https://next2d.app", + console.log("%c Next2D Player %c 3.6.0 %c https://next2d.app", "color: #fff; background: #5f5f5f", "color: #fff; background: #4bc729", "");