Changes between Version 13 and Version 14 of code/doc/CoreIncludes
- Timestamp:
- Oct 4, 2015, 9:37:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/CoreIncludes
v13 v14 13 13 * '''!RegisterRootObject('''''!ClassName''''')''': This is the same as !RegisterObject(!ClassName), but for root-classes like Interfaces ([wiki:Tickable], [wiki:network/Synchronisable] and others) and the [wiki:BaseObject]. 14 14 15 === Factory===16 * '''! CreateFactory('''''!ClassName''''')''': Creates the entry in the [wiki:Factory] for the given classand adds a [wiki:ClassFactory] to the corresponding [wiki:Identifier]. This macro has to be used outside the class-functions as a static call (preferably just before the constructor).15 === Class Registration === 16 * '''!RegisterClass('''''!ClassName''''')''': Registers the given class in the framework and adds a [wiki:ClassFactory] to the corresponding [wiki:Identifier]. This macro has to be used outside the class-functions as a static call (preferably just before the constructor). 17 17 18 18 === Identifiers === … … 25 25 {{{ 26 26 // Create the factory for MyClass 27 CreateFactory(MyClass);27 RegisterClass(MyClass); 28 28 29 29 // Constructor: