Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RovioAPI" /> class.
        /// </summary>
        /// <param name="settings">The settings.</param>
        public RovioAPI(string host, int port, NetworkCredential credentials)
        {
            this.rwc = new RovioWebClient(host, port, credentials);

            this.movement     = new MovementController(this);
            this.manualDriver = this.movement.ManualDriver;
            this.camera       = new CameraController(this);
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RovioAPI" /> class.
        /// </summary>
        /// <param name="settings">The settings.</param>
        public RovioAPI(string host, int port, NetworkCredential credentials)
        {
            this.rwc = new RovioWebClient(host, port, credentials);

            this.movement = new MovementController(this);
            this.manualDriver = this.movement.ManualDriver;
            this.camera = new CameraController(this);
        }