示例#1
0
        public FlightBehavior() //Hardcoded Behaviors listing, can be made dynamic
        {
            modes = new List <FlightModes.Flight>();

            normalFlight = new FlightModes.NormalFlight();
            AddBehavior(normalFlight);

            cruiseFlight = new FlightModes.CruiseFlight();
            AddBehavior(cruiseFlight);
        }
示例#2
0
        //Hardcoded Behaviors listing, can be made dynamic
        public FlightBehavior()
        {
            modes = new List<FlightModes.Flight>();

            normalFlight = new FlightModes.NormalFlight();
            AddBehavior(normalFlight);

            cruiseFlight = new FlightModes.CruiseFlight();
            AddBehavior(cruiseFlight);
        }