Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Enumerations
ActionpointController.h File Reference
#include "controllers/FightingController.h"
#include "tools/Timer.h"
#include "tools/interfaces/Tickable.h"
#include <map>

Go to the source code of this file.

Classes

class  orxonox::ActionpointController
 
struct  orxonox::Point
 

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 

Enumerations

enum  orxonox::Action {
  orxonox::Action::NONE, orxonox::Action::FLY, orxonox::Action::FIGHT, orxonox::Action::PROTECT,
  orxonox::Action::FIGHTALL, orxonox::Action::ATTACK
}
 ActionpointController is a state machine with states: 1) NONE 2) FLY: fly towards a point 3) FIGHT: fight enemies that are in attackRange_ (see FightingController) 4) PROTECT: follow this->protect_ 5) FIGHTALL: fight all enemies on the map 6) ATTACK: fight a specific spaceship This controller always executes an action that is in the back of the vector being used. More...