Changeset 10448 for code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.h
- Timestamp:
- May 21, 2015, 2:55:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SciptableControllerFS15/src/orxonox/controllers/ScriptController.h
r10315 r10448 51 51 Vector3 v2; 52 52 53 /** The parameters are additionally stored as a set of 6 numerical values **/ 54 float a, b, c, d, e, f; 55 53 56 /** Time span of the event */ 54 57 float duration; … … 72 75 // LUA interface 73 76 // tolua_begin 74 void eventScheduler(std::string instruction ,75 float x1 , float y1, float z1,76 float x2 , float y2, float z2,77 float duration , float executionTime);77 void eventScheduler(std::string instruction = "", 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); 78 81 79 82 static ScriptController* getScriptController(); … … 119 122 Vector3 startpos; 120 123 124 /* Time of the previously scheduled event */ 125 float prevEventTime; 126 127 /* Hack: Gain access to delta t */ 128 float deltat; 129 121 130 /* - Position to look at during that transition */ 122 131 //Vector3 lookAtPosition;
Note: See TracChangeset
for help on using the changeset viewer.