| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- function SkeletonAnimation() {
- }
- Duktape.fin(SkeletonAnimation.prototype, function (x) {
- if (x === SkeletonAnimation.prototype) {
- return;
- }
- Polycode.SkeletonAnimation__delete(x.__ptr)
- })
- SkeletonAnimation.prototype.addBoneTrack = function(boneTrack) {
- Polycode.SkeletonAnimation_addBoneTrack(this.__ptr, boneTrack)
- }
- SkeletonAnimation.prototype.getName = function() {
- return Polycode.SkeletonAnimation_getName(this.__ptr)
- }
- SkeletonAnimation.prototype.Play = function(once) {
- Polycode.SkeletonAnimation_Play(this.__ptr, once)
- }
- SkeletonAnimation.prototype.Stop = function() {
- Polycode.SkeletonAnimation_Stop(this.__ptr)
- }
- SkeletonAnimation.prototype.Reset = function() {
- Polycode.SkeletonAnimation_Reset(this.__ptr)
- }
- SkeletonAnimation.prototype.Update = function() {
- Polycode.SkeletonAnimation_Update(this.__ptr)
- }
- SkeletonAnimation.prototype.setSpeed = function(speed) {
- Polycode.SkeletonAnimation_setSpeed(this.__ptr, speed)
- }
- SkeletonAnimation.prototype.setWeight = function(newWeight) {
- Polycode.SkeletonAnimation_setWeight(this.__ptr, newWeight)
- }
- SkeletonAnimation.prototype.getWeight = function() {
- return Polycode.SkeletonAnimation_getWeight(this.__ptr)
- }
- SkeletonAnimation.prototype.isPlaying = function() {
- return Polycode.SkeletonAnimation_isPlaying(this.__ptr)
- }
|