mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Just to test if smartGit works again
This commit is contained in:
parent
2659ed7a4a
commit
35517d94ad
1 changed files with 17 additions and 17 deletions
|
@ -58,7 +58,7 @@ Phaser.GameObjectFactory.prototype = {
|
||||||
* @method sprite
|
* @method sprite
|
||||||
* @param {number} x - X position of the new sprite.
|
* @param {number} x - X position of the new sprite.
|
||||||
* @param {number} y - Y position of the new sprite.
|
* @param {number} y - Y position of the new sprite.
|
||||||
* @param {string|RenderTexture} [key] - The image key as defined in the Game.Cache to use as the texture for this sprite OR a RenderTexture.
|
* @param {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
|
||||||
* @param {string|number} [frame] - If the sprite uses an image from a texture atlas or sprite sheet you can pass the frame here. Either a number for a frame ID or a string for a frame name.
|
* @param {string|number} [frame] - If the sprite uses an image from a texture atlas or sprite sheet you can pass the frame here. Either a number for a frame ID or a string for a frame name.
|
||||||
* @returns {Description} Description.
|
* @returns {Description} Description.
|
||||||
*/
|
*/
|
||||||
|
@ -90,7 +90,7 @@ Phaser.GameObjectFactory.prototype = {
|
||||||
*
|
*
|
||||||
* @method tween
|
* @method tween
|
||||||
* @param {object} obj - Object the tween will be run on.
|
* @param {object} obj - Object the tween will be run on.
|
||||||
* @return {Description} Description.
|
* @return {Phaser.Tween} Description.
|
||||||
*/
|
*/
|
||||||
tween: function (obj) {
|
tween: function (obj) {
|
||||||
|
|
||||||
|
@ -99,12 +99,12 @@ Phaser.GameObjectFactory.prototype = {
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description.
|
* Creates a new group to be added on the display list
|
||||||
*
|
*
|
||||||
* @method group
|
* @method group
|
||||||
* @param {Description} parent - Description.
|
* @param {Description} parent - Description.
|
||||||
* @param {Description} name - Description.
|
* @param {Description} name - Description.
|
||||||
* @return {Description} Description.
|
* @return {Phaser.Group} The newly created group.
|
||||||
*/
|
*/
|
||||||
group: function (parent, name) {
|
group: function (parent, name) {
|
||||||
|
|
||||||
|
@ -116,10 +116,10 @@ Phaser.GameObjectFactory.prototype = {
|
||||||
* Description.
|
* Description.
|
||||||
*
|
*
|
||||||
* @method audio
|
* @method audio
|
||||||
* @param {Description} key - Description.
|
* @param {string} key - The Game.cache key of the sound that this object will use.
|
||||||
* @param {Description} volume - Description.
|
* @param {number} volume - The volume at which the sound will be played.
|
||||||
* @param {Description} loop - Description.
|
* @param {boolean} loop - Whether or not the sound will loop.
|
||||||
* @return {Description} Description.
|
* @return {Phaser.Audio} The audio object.
|
||||||
*/
|
*/
|
||||||
audio: function (key, volume, loop) {
|
audio: function (key, volume, loop) {
|
||||||
|
|
||||||
|
@ -131,11 +131,11 @@ Phaser.GameObjectFactory.prototype = {
|
||||||
* Description.
|
* Description.
|
||||||
*
|
*
|
||||||
* @method tileSprite
|
* @method tileSprite
|
||||||
* @param {Description} x - Description.
|
* @param {number} x - X position of the new tileSprite.
|
||||||
* @param {Description} y - Description.
|
* @param {number} y - Y position of the new tileSprite.
|
||||||
* @param {Description} width - Description.
|
* @param {Description} width - the width of the tilesprite.
|
||||||
* @param {Description} height - Description.
|
* @param {Description} height - the height of the tilesprite.
|
||||||
* @param {Description} key - Description.
|
* @param {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
|
||||||
* @param {Description} frame - Description.
|
* @param {Description} frame - Description.
|
||||||
* @return {Description} Description.
|
* @return {Description} Description.
|
||||||
*/
|
*/
|
||||||
|
@ -149,10 +149,10 @@ Phaser.GameObjectFactory.prototype = {
|
||||||
* Description.
|
* Description.
|
||||||
*
|
*
|
||||||
* @method text
|
* @method text
|
||||||
* @param {Description} x - Description.
|
* @param {number} x - X position of the new text object.
|
||||||
* @param {Description} y - Description.
|
* @param {number} y - Y position of the new text object.
|
||||||
* @param {Description} text - Description.
|
* @param {string} text - The actual text that will be written.
|
||||||
* @param {Description} style - Description.
|
* @param {object} style - The style object containing style attributes like font, font size , etc.
|
||||||
*/
|
*/
|
||||||
text: function (x, y, text, style) {
|
text: function (x, y, text, style) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue