From 35c771b70fb5680879d0adfb7ebe0e9955993514 Mon Sep 17 00:00:00 2001 From: reduz Date: Thu, 3 Apr 2014 10:51:14 -0700 Subject: [PATCH] Updated core_object (markdown) --- core_object.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core_object.md b/core_object.md index 4a07895..12f25e3 100644 --- a/core_object.md +++ b/core_object.md @@ -26,8 +26,9 @@ ObjectTypeDB is a static class that hold the entire list of registered classes t Classes are registered by calling: +```c++ ObjectTypeDB::register_type() - +``` Registering it will allow the type to be instanced by scripts, code, or creating them again when deserializing. Registering as virtual is the same but it can't be instanced.