Пример #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 decForeArmR()
 {
     ForeArmR.rotateCounterCloc();
 }
Пример #4
0
 public void incForeArmR()
 {
     ForeArmR.rotateCloc();
 }