Пример #1
0
        private static void demo(Helicopter helicopter)
        {
            //Takeoff command - FLY!
            helicopter.TakeOff();

            //Throttle command - LIFT
            helicopter.ChangeThrottle(500);

            //Move forward - watch out im moving forward
            helicopter.MoveForward();

            //Move backward - backing up!
            helicopter.MoveBackward(2000);

            //Turn Left - Think about looking out of the helicopter window
            //helicopter.TurnLeft();

            //Turn right - Think about looking out of the helicopter window
            //helicopter.TurnRight();

            //Landing command
            helicopter.Land();
        }