29 #ifndef _ScriptController_H__ 30 #define _ScriptController_H__ 70 void takeControl(
int ctrlid);
73 virtual void tick(
float dt)
override;
78 float x1 = 0,
float y1 = 0,
float z1 = 0,
79 float x2 = 0,
float y2 = 0,
float z2 = 0,
80 float duration = 0,
float executionTime = 0);
87 const Vector3& getPosition();
89 void execute(
event ev);
PlayerInfo * player_
Definition: ScriptController.h:95
float f
Definition: ScriptController.h:54
Vector3 startpos
Definition: ScriptController.h:122
ControllableEntity * entity_
Definition: ScriptController.h:100
virtual ~ScriptController()
Definition: ScriptController.h:68
float c
Definition: ScriptController.h:54
float scTime
Definition: ScriptController.h:110
::std::string string
Definition: gtest-port.h:756
Structure to describe a single event.
Definition: ScriptController.h:42
float b
Definition: ScriptController.h:54
float duration
Time span of the event.
Definition: ScriptController.h:57
std::string fctName
Instruction for this event.
Definition: ScriptController.h:45
unsigned int eventno
Definition: ScriptController.h:107
float d
Definition: ScriptController.h:54
Vector3 v2
Where we are looking.
Definition: ScriptController.h:51
Vector3 v1
Final position we want to be at.
Definition: ScriptController.h:48
std::vector< event > eventList
Definition: ScriptController.h:106
float a
The parameters are additionally stored as a set of 6 numerical values.
Definition: ScriptController.h:54
void setPlayer(PlayerInfo *player)
Definition: ScriptController.h:71
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
int ctrlid_
Definition: ScriptController.h:103
int getID()
Definition: ScriptController.h:84
Shared library macros, enums, constants and forward declarations for the orxonox library ...
float eventTime
Definition: ScriptController.h:121
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
Definition: ScriptController.h:63
float prevEventTime
Definition: ScriptController.h:125
Definition: PlayerInfo.h:39
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52
bool processing
Definition: ScriptController.h:114
The ControllableEntity is derived from the orxonox::MobileEntity.
Definition: ControllableEntity.h:48
Definition of the XMLPortEventState() macro, as well as some more useful macros.
event currentEvent
Definition: ScriptController.h:118
Definition: ArtificialController.h:38
float e
Definition: ScriptController.h:54
float eventTime
Start point in time of the event.
Definition: ScriptController.h:60