@@ -48,11 +48,11 @@ class DisplayObject extends GameObject {
4848 /** @protected @type {boolean } */
4949 this . mSnapToPixels = false ;
5050
51- /** @protected @type {DisplayObject|null } */
52- this . mMask = null ;
51+ // / ** @protected @type {DisplayObject|null } */
52+ // this.mMask = null;
5353
54- /** @protected @type {boolean } */
55- this . mIsMask = false ;
54+ // / ** @protected @type {boolean } */
55+ // this.mIsMask = false;
5656 }
5757
5858 /**
@@ -380,29 +380,29 @@ class DisplayObject extends GameObject {
380380 this . mSnapToPixels = value ;
381381 }
382382
383- /**
384- * Gets/sets a display object which will act like a mask for this display object.
385- * Mask should be a part on the stage.
386- * @returns {DisplayObject|null }
387- */
388- get mask ( ) {
389- return this . mMask ;
390- }
391-
392- /**
393- * @ignore
394- * @param {DisplayObject|null }
395- */
396- set mask ( value ) {
397- if ( this . mMask === value )
398- return ;
399-
400- if ( this . mMask !== null )
401- this . mMask . mIsMask = false ;
402-
403- if ( value !== null )
404- value . mIsMask = true ;
405-
406- this . mMask = value ;
407- }
383+ // / **
384+ // * Gets/sets a display object which will act like a mask for this display object.
385+ // * Mask should be a part on the stage.
386+ // * @returns {DisplayObject|null }
387+ // */
388+ // get mask() {
389+ // return this.mMask;
390+ // }
391+
392+ // / **
393+ // * @ignore
394+ // * @param {DisplayObject|null }
395+ // */
396+ // set mask(value) {
397+ // if (this.mMask === value)
398+ // return;
399+
400+ // if (this.mMask !== null)
401+ // this.mMask.mIsMask = false;
402+
403+ // if (value !== null)
404+ // value.mIsMask = true;
405+
406+ // this.mMask = value;
407+ // }
408408}
0 commit comments