// // Created by logicp on 4/22/17. // #ifndef DRONE_DRONE_H #define DRONE_DRONE_H class drone { public: drone(); drone(int payload); int explore(int time); void self_destruct(bool explosives); void attack(float heading); bool is_on() const { return active; } void set_location(float longitude, float latitude); private: int distance_travelled; int payload; bool active; float heading; float geolocation[2]; }; #endif //DRONE_DRONE_H