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); }
//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); }