00001
00012 #ifndef LIBRARYENTITIES_H
00013 #define LIBRARYENTITIES_H
00014
00015 #include "EntityTemplate.h"
00016
00017 namespace green
00018 {
00019 class DefaultEntity
00020 {
00021 public:
00022 static EntityTemplatePtr CreateTemplate()
00023 {
00024
00025 InitFormatPtr emptyInitFormat(new InitFormat());
00026
00027
00028 EntityTemplatePtr newEntityType(new EntityTemplate());
00029
00030
00031 newEntityType->SetInitFormat(emptyInitFormat);
00032
00033 return newEntityType;
00034 }
00035 };
00036
00037 }
00038
00039 #endif