/* * ORXONOX - the hottest 3D action shooter ever to exist * > www.orxonox.net < * * * License notice: * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Author: * Gani Aliguzhinov * Co-authors: * Dominik Solenicki * */ #ifndef _FlyingController_H__ #define _FlyingController_H__ #include "controllers/CommonController.h" namespace orxonox { /** @brief FlyingController stores all the flying methods and member variables of AI. */ //Formation mode for the divisions enum class FormationMode { FINGER4, DIAMOND, WALL }; class _OrxonoxExport FlyingController : public CommonController { public: static const float SPEED; //spread_ = spread; } int getSpread () const { return this->spread_; } void setFormationModeXML(const std::string& val); std::string getFormationModeXML() const; void setFormationMode(FormationMode val) { this->formationMode_ = val; } FormationMode getFormationMode() const { return this->formationMode_; } bool bCopyOrientation_; //