if(M>=2) { if(magnitude==true) { count = count + 1; magnitude = false; } else { magnitude = true; } if (IsWalking) { TextBlock_CountStep_Center.Text = (count*2).ToString(); TextBlock_CounterStep_Cornner.Text =( count*2).ToString(); } if (IsJumping) { TextBlock_CountStep_Center.Text = (count / 2).ToString(); TextBlock_CounterStep_Cornner.Text = (count / 2).ToString(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)