@@ -661,13 +661,15 @@ Show the error message
661
661
}
662
662
} ) ;
663
663
664
+ int moveTime = 100 ;
665
+
664
666
MoveDownCommand = new Command ( ( ) =>
665
667
{
666
668
MoveMsg movemsg = new MoveMsg ( ) ;
667
669
movemsg . PlayerId = playerID ;
668
670
movemsg . TeamId = teamID ;
669
671
movemsg . Angle = double . Pi / 2 ;
670
- movemsg . TimeInMilliseconds = 50 ;
672
+ movemsg . TimeInMilliseconds = moveTime ;
671
673
client . Move ( movemsg ) ;
672
674
} ) ;
673
675
@@ -677,7 +679,7 @@ Show the error message
677
679
movemsg . PlayerId = playerID ;
678
680
movemsg . TeamId = teamID ;
679
681
movemsg . Angle = double . Pi ;
680
- movemsg . TimeInMilliseconds = 50 ;
682
+ movemsg . TimeInMilliseconds = moveTime ;
681
683
client . Move ( movemsg ) ;
682
684
} ) ;
683
685
@@ -687,7 +689,7 @@ Show the error message
687
689
movemsg . PlayerId = playerID ;
688
690
movemsg . TeamId = teamID ;
689
691
movemsg . Angle = double . NegativeZero ;
690
- movemsg . TimeInMilliseconds = 50 ;
692
+ movemsg . TimeInMilliseconds = moveTime ;
691
693
client . Move ( movemsg ) ;
692
694
} ) ;
693
695
@@ -697,7 +699,7 @@ Show the error message
697
699
movemsg . PlayerId = playerID ;
698
700
movemsg . TeamId = teamID ;
699
701
movemsg . Angle = double . Pi * 5 / 4 ;
700
- movemsg . TimeInMilliseconds = 50 ;
702
+ movemsg . TimeInMilliseconds = moveTime ;
701
703
client . Move ( movemsg ) ;
702
704
} ) ;
703
705
@@ -707,7 +709,7 @@ Show the error message
707
709
movemsg . PlayerId = playerID ;
708
710
movemsg . TeamId = teamID ;
709
711
movemsg . Angle = double . Pi * 7 / 4 ;
710
- movemsg . TimeInMilliseconds = 50 ;
712
+ movemsg . TimeInMilliseconds = moveTime ;
711
713
client . Move ( movemsg ) ;
712
714
} ) ;
713
715
@@ -717,7 +719,7 @@ Show the error message
717
719
movemsg . PlayerId = playerID ;
718
720
movemsg . TeamId = teamID ;
719
721
movemsg . Angle = double . Pi * 3 / 4 ;
720
- movemsg . TimeInMilliseconds = 50 ;
722
+ movemsg . TimeInMilliseconds = moveTime ;
721
723
client . Move ( movemsg ) ;
722
724
} ) ;
723
725
@@ -727,7 +729,7 @@ Show the error message
727
729
movemsg . PlayerId = playerID ;
728
730
movemsg . TeamId = teamID ;
729
731
movemsg . Angle = double . Pi / 4 ;
730
- movemsg . TimeInMilliseconds = 50 ;
732
+ movemsg . TimeInMilliseconds = moveTime ;
731
733
client . Move ( movemsg ) ;
732
734
} ) ;
733
735
//Links = [
0 commit comments