浏览代码

Removed deprecated mention of OBJECTTYPESTATIC macro in the getting started documentation.

Lasse Öörni 12 年之前
父节点
当前提交
a5223e76f2
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      Docs/GettingStarted.dox

+ 1 - 5
Docs/GettingStarted.dox

@@ -601,11 +601,9 @@ With the context at hand, we create the Engine and initialize it. The engine acc
 
 After this, we instantiate the HelloWorld object, call its Start() function, and run the main loop until Engine tells that we should exit. The shared pointers will take care of deleting the objects in the correct order; the Context will be the last to be destroyed.
 
-Now we can start implementing HelloWorld. 
+Now we can start implementing HelloWorld.
 
 \code
-OBJECTTYPESTATIC(HelloWorld);
-
 HelloWorld::HelloWorld(Context* context) :
     Object(context),
     cache_(GetSubsystem<ResourceCache>())
@@ -613,8 +611,6 @@ HelloWorld::HelloWorld(Context* context) :
 }
 \endcode
 
-Note the OBJECTTYPESTATIC(className) macro, which creates the static type name and type name hash for object type identification. For each OBJECT macro, a matching OBJECTTYPESTATIC must appear in a .cpp file. 
-
 During construction, we only store the ResourceCache subsystem pointer for later access.
 
 In the Start() function the Scene will be created: