mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 15:14:47 +00:00
New plugin build
This commit is contained in:
parent
dedab594fd
commit
f2a19c933c
2 changed files with 28 additions and 1 deletions
27
plugins/spine/dist/SpinePlugin.js
vendored
27
plugins/spine/dist/SpinePlugin.js
vendored
|
@ -10374,6 +10374,16 @@ var SpinePlugin = new Class({
|
|||
return atlas;
|
||||
},
|
||||
|
||||
getVector2: function (x, y)
|
||||
{
|
||||
return new Spine.Vector2(x, y);
|
||||
},
|
||||
|
||||
getVector3: function (x, y, z)
|
||||
{
|
||||
return new Spine.webgl.Vector3(x, y, z);
|
||||
},
|
||||
|
||||
setDebugBones: function (value)
|
||||
{
|
||||
if (value === undefined) { value = true; }
|
||||
|
@ -10841,6 +10851,23 @@ var SpineGameObject = new Class({
|
|||
return this;
|
||||
},
|
||||
|
||||
getBoneList: function ()
|
||||
{
|
||||
var output = [];
|
||||
|
||||
var skeletonData = this.skeletonData;
|
||||
|
||||
if (skeletonData)
|
||||
{
|
||||
for (var i = 0; i < skeletonData.bones.length; i++)
|
||||
{
|
||||
output.push(skeletonData.bones[i].name);
|
||||
}
|
||||
}
|
||||
|
||||
return output;
|
||||
},
|
||||
|
||||
getAnimationList: function ()
|
||||
{
|
||||
var output = [];
|
||||
|
|
2
plugins/spine/dist/SpinePlugin.js.map
vendored
2
plugins/spine/dist/SpinePlugin.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue