|
Orxonox
0.0.5 Codename: Arcturus
|
#include <climits>#include "controllers/FormationController.h"#include "core/CoreIncludes.h"#include "core/XMLPort.h"#include "core/command/ConsoleCommandIncludes.h"#include "worldentities/ControllableEntity.h"#include "worldentities/pawns/Pawn.h"#include "worldentities/pawns/TeamBaseMatchBase.h"#include "gametypes/TeamDeathmatch.h"#include "gametypes/Dynamicmatch.h"#include "gametypes/Mission.h"#include "gametypes/Gametype.h"#include "controllers/WaypointPatrolController.h"#include "controllers/NewHumanController.h"#include "controllers/DroneController.h"Namespaces | |
| orxonox | |
| Die Wagnis Klasse hat die folgenden Aufgaben: | |
Functions | |
| orxonox::RegisterClass (FormationController) | |
| orxonox::SetConsoleCommand ("FormationController","formationflight",&FormationController::formationflight) | |
| orxonox::SetConsoleCommand ("FormationController","masteraction",&FormationController::masteraction) | |
| orxonox::SetConsoleCommand ("FormationController","followme",&FormationController::followme) | |
| orxonox::SetConsoleCommand ("FormationController","passivebehaviour",&FormationController::passivebehaviour) | |
| orxonox::SetConsoleCommand ("FormationController","formationsize",&FormationController::formationsize) | |
Variables | |
| static constexpr float | orxonox::FORMATION_LENGTH = 110 |
| static constexpr float | orxonox::FORMATION_WIDTH = 110 |
| static constexpr int | orxonox::FREEDOM_COUNT = 4 |
| static constexpr int | orxonox::RADIUS_TO_SEARCH_FOR_MASTERS = 5000 |
| static constexpr float | orxonox::ROTATEFACTOR_FREE = 0.8f |
| static constexpr float | orxonox::ROTATEFACTOR_MASTER = 0.2f |
| static constexpr float | orxonox::SPEED_FREE = 0.8f |
| static constexpr float | orxonox::SPEED_MASTER = 0.6f |
| static constexpr unsigned int | orxonox::STANDARD_MAX_FORMATION_SIZE = 9 |
1.8.11