Esempio n. 1
0
        public override void Draw()
        {
            if (Velocity.X < 0)
            {
                MechDirectionLegs = mechFacingLegs.left;
                MechDirection     = mechFacingCabin.left;
            }
            if (Velocity.X > 0)
            {
                MechDirectionLegs = mechFacingLegs.right;
                MechDirection     = mechFacingCabin.right;
            }

            DrawEntities.DrawMech(Boundary, _rotLeg, WalkingVisible, Velocity, _resolver, _walkSin, MechDirectionLegs, MechDirection);
        }
Esempio n. 2
0
 public void Draw(Player player)
 {
     DrawEntities.DrawMech(player.Boundary, RotLeg, WalkingVisible, player.Velocity, player.Resolver, WalkSin, FacingLegs, FacingCab);
 }