mirror of
https://github.com/wassname/phaser.git
synced 2026-08-09 12:20:34 +08:00
Added class constructors, fixed Stripshader, added relative Tween example and updated Tween source.
This commit is contained in:
@@ -322,6 +322,8 @@ Phaser.Camera.prototype = {
|
||||
|
||||
};
|
||||
|
||||
Phaser.Camera.prototype.constructor = Phaser.Camera;
|
||||
|
||||
/**
|
||||
* The Cameras x coordinate. This value is automatically clamped if it falls outside of the World bounds.
|
||||
* @name Phaser.Camera#x
|
||||
|
||||
@@ -124,6 +124,8 @@ Phaser.Filter.prototype = {
|
||||
|
||||
};
|
||||
|
||||
Phaser.Filter.prototype.constructor = Phaser.Filter;
|
||||
|
||||
/**
|
||||
* @name Phaser.Filter#width
|
||||
* @property {number} width - The width (resolution uniform)
|
||||
|
||||
@@ -635,6 +635,8 @@ Phaser.Game.prototype = {
|
||||
|
||||
};
|
||||
|
||||
Phaser.Game.prototype.constructor = Phaser.Game;
|
||||
|
||||
/**
|
||||
* The paused state of the Game. A paused game doesn't update any of its subsystems.
|
||||
* When a game is paused the onPause event is dispatched. When it is resumed the onResume event is dispatched.
|
||||
|
||||
@@ -1495,6 +1495,8 @@ Phaser.Group.prototype = {
|
||||
|
||||
};
|
||||
|
||||
Phaser.Group.prototype.constructor = Phaser.Group;
|
||||
|
||||
/**
|
||||
* @name Phaser.Group#total
|
||||
* @property {number} total - The total number of children in this Group who have a state of exists = true.
|
||||
|
||||
@@ -151,4 +151,6 @@ Phaser.LinkedList.prototype = {
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Phaser.LinkedList.prototype.constructor = Phaser.LinkedList;
|
||||
|
||||
@@ -119,3 +119,5 @@ Phaser.Plugin.prototype = {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Phaser.Plugin.prototype.constructor = Phaser.Plugin;
|
||||
|
||||
@@ -295,3 +295,5 @@ Phaser.PluginManager.prototype = {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Phaser.PluginManager.prototype.constructor = Phaser.PluginManager;
|
||||
|
||||
@@ -300,3 +300,5 @@ Phaser.Signal.prototype = {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Phaser.Signal.prototype.constructor = Phaser.Signal;
|
||||
|
||||
@@ -160,3 +160,5 @@ Phaser.SignalBinding.prototype = {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Phaser.SignalBinding.prototype.constructor = Phaser.SignalBinding;
|
||||
|
||||
@@ -230,6 +230,8 @@ Phaser.Stage.prototype = {
|
||||
|
||||
};
|
||||
|
||||
Phaser.Stage.prototype.constructor = Phaser.Stage;
|
||||
|
||||
/**
|
||||
* @name Phaser.Stage#backgroundColor
|
||||
* @property {number|string} backgroundColor - Gets and sets the background color of the stage. The color can be given as a number: 0xff0000 or a hex string: '#ff0000'
|
||||
|
||||
@@ -167,3 +167,5 @@ Phaser.State.prototype = {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Phaser.State.prototype.constructor = Phaser.State;
|
||||
|
||||
@@ -512,3 +512,5 @@ Phaser.StateManager.prototype = {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Phaser.StateManager.prototype.constructor = Phaser.StateManager;
|
||||
|
||||
Reference in New Issue
Block a user