示例#1
0
 public void update()
 {
     CalfL.setPosition(ThighL.getEnd());
     CalfR.setPosition(ThighR.getEnd());
     ForeArmL.setPosition(BicepL.getEnd());
     ForeArmR.setPosition(BicepR.getEnd());
 }
示例#2
0
        public void Draw(SpriteBatch spriteBatch)
        {
            ThighL.Draw(spriteBatch);
            ThighR.Draw(spriteBatch);
            CalfL.Draw(spriteBatch);
            CalfR.Draw(spriteBatch);

            BicepL.Draw(spriteBatch);
            BicepR.Draw(spriteBatch);
            ForeArmL.Draw(spriteBatch);
            ForeArmR.Draw(spriteBatch);
            spriteBatch.Draw(stick, spine, Color.White);
        }
示例#3
0
 public void DisconnectFromRigidbody()
 {
     Root.DisconnectFromRigidbody();
     Chest.DisconnectFromRigidbody();
     Head.DisconnectFromRigidbody();
     ThighL.DisconnectFromRigidbody();
     ThighR.DisconnectFromRigidbody();
     ShinL.DisconnectFromRigidbody();
     ShinR.DisconnectFromRigidbody();
     FootL.DisconnectFromRigidbody();
     FootR.DisconnectFromRigidbody();
     ShoulderL.DisconnectFromRigidbody();
     ShoulderR.DisconnectFromRigidbody();
     UpperArmL.DisconnectFromRigidbody();
     UpperArmR.DisconnectFromRigidbody();
     ForearmL.DisconnectFromRigidbody();
     ForearmR.DisconnectFromRigidbody();
     HandL.DisconnectFromRigidbody();
     HandR.DisconnectFromRigidbody();
 }
示例#4
0
 public void incThighR()
 {
     ThighR.rotateCloc();
 }
示例#5
0
 public void decThighR()
 {
     ThighR.rotateCounterCloc();
 }