- Timestamp:
- May 26, 2016, 4:38:51 PM (9 years ago)
- Location:
- code/branches/presentationFS16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS16
- Property svn:mergeinfo changed
/code/branches/plehmannFS16 (added) merged: 11137,11141,11152,11165,11167,11172,11178-11179,11183,11187,11190,11204
- Property svn:mergeinfo changed
-
code/branches/presentationFS16/src/orxonox/controllers/ScriptController.h
r11071 r11207 36 36 37 37 38 namespace orxonox // tolua_export39 { // tolua_export38 namespace orxonox 39 { 40 40 41 41 /** Structure to describe a single event */ … … 61 61 }; 62 62 63 class _OrxonoxExport ScriptController // tolua_export63 class _OrxonoxExport ScriptController 64 64 : public ArtificialController, public Tickable 65 { // tolua_export65 { 66 66 public: 67 67 ScriptController(Context* context); … … 73 73 virtual void tick(float dt) override; 74 74 75 // LUA interface 76 // tolua_begin 75 77 76 void eventScheduler(std::string instruction = "", 78 77 float x1 = 0, float y1 = 0, float z1 = 0, … … 84 83 int getID() { return ctrlid_; } 85 84 86 // tolua_end85 87 86 const Vector3& getPosition(); 88 87 … … 128 127 //Vector3 lookAtPosition; 129 128 130 };// tolua_export 131 } // tolua_export 129 130 /* private member functions */ 131 132 /*spiral event*/ 133 void spi(float dl); 134 135 /* rotate and look event */ 136 void ral(float dl); 137 138 /* move and look event */ 139 void mal(float dl); 140 141 /* transition look event */ 142 void chl(float dl); 143 144 /* rotate around x-coordinate event */ 145 void rotX(float dl); 146 147 }; 148 } 132 149 133 150 #endif /* _ScriptController_H__ */
Note: See TracChangeset
for help on using the changeset viewer.