Changes between Version 5 and Version 6 of ManualPage
- Timestamp:
- 09/27/07 20:33:42 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ManualPage
v5 v6 32 32 == How to use Kernel/Task subsystem == 33 33 34 Each game has a main gameloop. During the execution of one cycle of the loop a game engine has to perfrom a lot of tasks, e.g. checking user input, rendering, physic update and so on. [[BR]]34 Most of the games has got a main-loop. During the execution of one cycle of the loop a game engine has to perfrom a lot of tasks, e.g. checking user input, rendering, physic update and so on. [[BR]] 35 35 nrEngine's Kernel/Task subsystems provides a simple but powerfull interface to manage the main loop. The engine does contains a '''Kernel''' which runs in the background of the engine. A '''Task''' can be bound to the kernel, so that it gets updated every cycle. A task can be any user derived class which has to perform repetitive jobs, e.g. check for user input or stream data from the disk. [[BR]] 36 36 Moreover a task can get a specific order number or it can depend on another task. Hence the engine does provide a simple graph based task execution system. The functionality of the nrEngine's kernel is similar to the operatin gsystem kernel, but in a very simple form. [[BR]]