BoneTrack.js 477 B

12345678910111213141516171819202122
  1. function BoneTrack() {
  2. }
  3. BoneTrack.prototype.Play = function(once) {
  4. Polycode.BoneTrack_Play(this.__ptr, once)
  5. }
  6. BoneTrack.prototype.Stop = function() {
  7. Polycode.BoneTrack_Stop(this.__ptr)
  8. }
  9. BoneTrack.prototype.Update = function(elapsed) {
  10. Polycode.BoneTrack_Update(this.__ptr, elapsed)
  11. }
  12. BoneTrack.prototype.Reset = function() {
  13. Polycode.BoneTrack_Reset(this.__ptr)
  14. }
  15. BoneTrack.prototype.setSpeed = function(speed) {
  16. Polycode.BoneTrack_setSpeed(this.__ptr, speed)
  17. }