Exemplo n.º 1
0
        public FlightComputerWindow(FlightComputer fc)
            : base(Guid.NewGuid(), "Flight Computer", new Rect(100, 100, 0, 0), WindowAlign.Floating)
        {
            mFlightComputer = fc;

            mAttitude = new AttitudeFragment(fc, () => mQueueEnabled = !mQueueEnabled);
            mQueue = new QueueFragment(fc);
            mQueueEnabled = false;
        }
Exemplo n.º 2
0
        public FlightComputerWindow(FlightComputer fc)
            : base(Guid.NewGuid(), "Flight Computer", new Rect(100, 100, 0, 0), WindowAlign.Floating)
        {
            mFlightComputer = fc;

            mAttitude     = new AttitudeFragment(fc, () => mQueueEnabled = !mQueueEnabled);
            mQueue        = new QueueFragment(fc);
            mQueueEnabled = false;
        }
        public FlightComputerWindow(FlightComputer fc)
            : base("", new Rect(100, 100, 0, 0), WindowAlign.Floating)
        {
            mFlightComputer = fc;

            mAttitude = new AttitudeFragment(fc, () => mQueueEnabled = !mQueueEnabled);
            mRover = new RoverFragment(fc, () => mQueueEnabled = !mQueueEnabled);
            mAerial = new AerialFragment(fc);
            mBifrost = new BifrostFragment(fc);
            mQueue = new QueueFragment(fc);
            mQueueEnabled = false;
        }
        public FlightComputerWindow(FlightComputer fc)
            : base("", new Rect(100, 100, 0, 0), WindowAlign.Floating)
        {
            mFlightComputer = fc;

            mAttitude     = new AttitudeFragment(fc, () => mQueueEnabled = !mQueueEnabled);
            mRover        = new RoverFragment(fc, () => mQueueEnabled = !mQueueEnabled);
            mAerial       = new AerialFragment(fc);
            mBifrost      = new BifrostFragment(fc);
            mQueue        = new QueueFragment(fc);
            mQueueEnabled = false;
        }