mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 16:39:34 +00:00
General docs - reverting src/pixi changes
(Because outside of control, really.)
This commit is contained in:
parent
8b1c7625d4
commit
5645690174
12 changed files with 27 additions and 27 deletions
|
@ -108,7 +108,7 @@ PIXI.DisplayObject = function()
|
|||
*
|
||||
* @property parent
|
||||
* @type DisplayObjectContainer
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.parent = null;
|
||||
|
||||
|
@ -117,7 +117,7 @@ PIXI.DisplayObject = function()
|
|||
*
|
||||
* @property stage
|
||||
* @type Stage
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.stage = null;
|
||||
|
||||
|
@ -126,7 +126,7 @@ PIXI.DisplayObject = function()
|
|||
*
|
||||
* @property worldAlpha
|
||||
* @type Number
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.worldAlpha = 1;
|
||||
|
||||
|
@ -135,7 +135,7 @@ PIXI.DisplayObject = function()
|
|||
*
|
||||
* @property _interactive
|
||||
* @type Boolean
|
||||
* @readonly
|
||||
* @readOnly
|
||||
* @private
|
||||
*/
|
||||
this._interactive = false;
|
||||
|
@ -154,7 +154,7 @@ PIXI.DisplayObject = function()
|
|||
*
|
||||
* @property worldTransform
|
||||
* @type Matrix
|
||||
* @readonly
|
||||
* @readOnly
|
||||
* @private
|
||||
*/
|
||||
this.worldTransform = new PIXI.Matrix();
|
||||
|
|
|
@ -19,7 +19,7 @@ PIXI.DisplayObjectContainer = function()
|
|||
*
|
||||
* @property children
|
||||
* @type Array(DisplayObject)
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.children = [];
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ PIXI.MovieClip = function(textures)
|
|||
* @property currentFrame
|
||||
* @type Number
|
||||
* @default 0
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.currentFrame = 0;
|
||||
|
||||
|
@ -63,7 +63,7 @@ PIXI.MovieClip = function(textures)
|
|||
*
|
||||
* @property playing
|
||||
* @type Boolean
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.playing = false;
|
||||
};
|
||||
|
@ -79,7 +79,7 @@ PIXI.MovieClip.prototype.constructor = PIXI.MovieClip;
|
|||
* @property totalFrames
|
||||
* @type Number
|
||||
* @default 0
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
Object.defineProperty( PIXI.MovieClip.prototype, 'totalFrames', {
|
||||
get: function() {
|
||||
|
|
|
@ -27,7 +27,7 @@ PIXI.Stage = function(backgroundColor)
|
|||
*
|
||||
* @property worldTransform
|
||||
* @type Matrix
|
||||
* @readonly
|
||||
* @readOnly
|
||||
* @private
|
||||
*/
|
||||
this.worldTransform = new PIXI.Matrix();
|
||||
|
|
|
@ -37,7 +37,7 @@ PIXI.BitmapFontLoader = function(url, crossorigin)
|
|||
*
|
||||
* @property baseUrl
|
||||
* @type String
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.baseUrl = url.replace(/[^\/]*$/, '');
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ PIXI.ImageLoader = function(url, crossorigin)
|
|||
*
|
||||
* @property frames
|
||||
* @type Array
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.frames = [];
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@ PIXI.JsonLoader = function (url, crossorigin) {
|
|||
*
|
||||
* @property baseUrl
|
||||
* @type String
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.baseUrl = url.replace(/[^\/]*$/, '');
|
||||
|
||||
|
@ -44,7 +44,7 @@ PIXI.JsonLoader = function (url, crossorigin) {
|
|||
*
|
||||
* @property loaded
|
||||
* @type Boolean
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.loaded = false;
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ PIXI.SpineLoader = function(url, crossorigin)
|
|||
*
|
||||
* @property loaded
|
||||
* @type Boolean
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.loaded = false;
|
||||
};
|
||||
|
|
|
@ -40,7 +40,7 @@ PIXI.SpriteSheetLoader = function (url, crossorigin) {
|
|||
*
|
||||
* @property baseUrl
|
||||
* @type String
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.baseUrl = url.replace(/[^\/]*$/, '');
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ PIXI.BitmapText = function(text, style)
|
|||
*
|
||||
* @property textWidth
|
||||
* @type Number
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.textWidth = 0;
|
||||
|
||||
|
@ -36,7 +36,7 @@ PIXI.BitmapText = function(text, style)
|
|||
*
|
||||
* @property textHeight
|
||||
* @type Number
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.textHeight = 0;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ PIXI.BaseTexture = function(source, scaleMode)
|
|||
*
|
||||
* @property width
|
||||
* @type Number
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.width = 100;
|
||||
|
||||
|
@ -39,7 +39,7 @@ PIXI.BaseTexture = function(source, scaleMode)
|
|||
*
|
||||
* @property height
|
||||
* @type Number
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.height = 100;
|
||||
|
||||
|
@ -57,7 +57,7 @@ PIXI.BaseTexture = function(source, scaleMode)
|
|||
*
|
||||
* @property hasLoaded
|
||||
* @type Boolean
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.hasLoaded = false;
|
||||
|
||||
|
|
|
@ -210,7 +210,7 @@ PIXI.Event = function(target, name, data) {
|
|||
* @property stopped
|
||||
* @type Boolean
|
||||
* @private
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.stopped = false;
|
||||
|
||||
|
@ -221,7 +221,7 @@ PIXI.Event = function(target, name, data) {
|
|||
* @property stoppedImmediate
|
||||
* @type Boolean
|
||||
* @private
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.stoppedImmediate = false;
|
||||
|
||||
|
@ -230,7 +230,7 @@ PIXI.Event = function(target, name, data) {
|
|||
*
|
||||
* @property target
|
||||
* @type Object
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.target = target;
|
||||
|
||||
|
@ -239,7 +239,7 @@ PIXI.Event = function(target, name, data) {
|
|||
*
|
||||
* @property type
|
||||
* @type String
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.type = name;
|
||||
|
||||
|
@ -248,7 +248,7 @@ PIXI.Event = function(target, name, data) {
|
|||
*
|
||||
* @property data
|
||||
* @type Object
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.data = data;
|
||||
|
||||
|
@ -260,7 +260,7 @@ PIXI.Event = function(target, name, data) {
|
|||
*
|
||||
* @property timeStamp
|
||||
* @type Number
|
||||
* @readonly
|
||||
* @readOnly
|
||||
*/
|
||||
this.timeStamp = Date.now();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue