Changes between Version 1 and Version 2 of code/doc/ScriptController
- Timestamp:
- May 22, 2014, 1:55:42 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/ScriptController
v1 v2 10 10 The LUA-file contains all necessary parameters (the function's name, coordinates, execution time) to create a new event and instantiates a ScriptController object. Inside that object, time (variable: scTime) begins now at zero, all events will be executed relative to this time. 11 11 12 The ScriptController -object gets its instructions via the eventScheduler function and stores them in a vector of events (struct) in ascending order of their execution time. The LUA part is done now.12 The ScriptController object gets its instructions via the eventScheduler function and stores them in a vector of events (struct) in ascending order of their execution time. The LUA part is done now. 13 13 14 14 Within every clockcycle the ScriptController's tick function checks if the time to execute the first event in the vector has come yet.