#include #include #include class Dispatcher { public: typedef std::vector< std::shared_ptr > Aircrafts; Dispatcher(); ~Dispatcher(); void start(); void execute(); void stop(); const Aircrafts& getAircrafts() const; bool evalShot(const irr::core::line3df&); private: irr::u32 lastDispatchMS; Aircrafts aircrafts; bool active; };