コード例 #1
0
 void moveRight() // Move to right , the movement way depends on which ability is enabled
 {
     if (rotateArm.isEnabled() && rotateArm.isActivate())
     {
         rotateArm.rotateRight();
     }
     else
     {
         basicMoveMent.moveRight();
     }
 }