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); }
public void Draw(Player player) { DrawEntities.DrawMech(player.Boundary, RotLeg, WalkingVisible, player.Velocity, player.Resolver, WalkSin, FacingLegs, FacingCab); }