Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/physics/BodyFactory.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _BODY_FACTORY_H_
00004 #define _BODY_FACTORY_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 
00009 namespace physics
00010 {
00011 
00012 class Body;
00013 class BodyData;
00014 
00015 class ENGINE_PUBLIC_EXPORT BodyFactory
00016 {
00017 public:
00018 
00020         virtual Body* createBody(BodyData* bodyData) = 0;
00021         virtual Body* createBody(const std::string& name, BodyData* bodyData) = 0;
00022 
00024         virtual void destroyBody(Body* body) = 0;
00025 };
00026 
00027 } // end namespace physics
00028 
00029 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:04 by Doxygen (1.7.4)