Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of code/doc/ScriptController


Ignore:
Timestamp:
May 22, 2014, 1:55:42 PM (10 years ago)
Author:
samuezu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/ScriptController

    v1 v2  
    1010The 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.
    1111
    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.
     12The 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.
    1313
    1414Within every clockcycle the ScriptController's tick function checks if the time to execute the first event in the vector has come yet.