Changes between Version 1 and Version 2 of code/doc/Level
- Timestamp:
- Feb 27, 2008, 11:25:41 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Level
v1 v2 5 5 A [wiki:Level] is a combination of a xml-file and a [wiki:ClassTreeMask]. They define a set of objects that can be loaded by the [wiki:Loader]. If you don't specify a [wiki:ClassTreeMask mask], every object gets loaded. If you exclude certain classes, objects of those classes aren't loaded. A [wiki:Loader loaded] object knows in which [wiki:Level] it was defined. This way it's possible to selecitvely delete objects of a specific [wiki:Level]. 6 6 7 You can think of a [wiki:Lev le] as a static and well defined unit. It's not possible to change the xml-file or the [wiki:ClassTreeMask mask] of a [wiki:Level]. The same xml-file comined with a different [wiki:ClassTreeMask mask] defines another [wiki:Level]. However it's still possible to apply another [wiki:ClassTreeMask mask] to a (already masked) [wiki:Level] by using the functions of the [wiki:Loader]. But the other mask is intersected with the mask of the level, so it's only possible to exclude even more classes, but you can't include previously excluded classes.7 You can think of a [wiki:Level] as a static and well defined unit. It's not possible to change the xml-file or the [wiki:ClassTreeMask mask] of a [wiki:Level]. The same xml-file combined with a different [wiki:ClassTreeMask mask] defines another [wiki:Level]. However it's still possible to apply another [wiki:ClassTreeMask mask] to a (already masked) [wiki:Level] by using the functions of the [wiki:Loader]. But the other mask is intersected with the mask of the level, so it's only possible to exclude even more classes, but you can't include previously excluded classes. 8 8 9 Recapitulatory we can state: A xml-file defines the maximal set of objects in a [wiki:Level] and a [wiki:Level] defines the maximal set of objects that can be loaded by the [wiki:Loader]. But both, [wiki:Level] and [wiki:Loader] can use [wiki:ClassTreeMask masks] to reduce the amount of objects .9 Recapitulatory we can state: A xml-file defines the maximal set of objects in a [wiki:Level] and a [wiki:Level] defines the maximal set of objects that can be loaded by the [wiki:Loader]. But both, [wiki:Level] and [wiki:Loader] can use [wiki:ClassTreeMask masks] to reduce the amount of objects even more. 10 10 11 11 == Functions ==