Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 13 and Version 14 of code/doc/CoreIncludes


Ignore:
Timestamp:
Oct 4, 2015, 9:37:30 PM (9 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/CoreIncludes

    v13 v14  
    1313 * '''!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].
    1414
    15 === Factory ===
    16  * '''!CreateFactory('''''!ClassName''''')''': Creates the entry in the [wiki:Factory] for the given class 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).
     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).
    1717
    1818=== Identifiers ===
     
    2525{{{
    2626// Create the factory for MyClass
    27 CreateFactory(MyClass);
     27RegisterClass(MyClass);
    2828
    2929// Constructor: