Пример #1
0
        public SimulationGyroscopeAdapter(SimulationGyroscopeState state) : base(state.Name, DeviceType.Gyroscope)
        {
            this.state = state;

            lastAngularVelocity = state.AngularVelocity;
            lastUpdateTime      = DateTime.Now;
        }
        public SimulationGyroscopeAdapter(SimulationGyroscopeState state)
            : base(state.Name, DeviceType.Gyroscope)
        {
            this.state = state;

             lastAngularVelocity = state.AngularVelocity;
             lastUpdateTime = DateTime.Now;
        }