10 class PhysicsMaterialManager;
27 const std::shared_ptr<PhysicsMaterialManager>& physicsMaterials,
int overrideid = -1);
43 const std::shared_ptr<PhysicsMaterialManager>& physicsMaterials,
int overrideid = -1);
DLLEXPORT ~GameWorldFactory()
DLLEXPORT GameWorldFactory()
static DLLEXPORT GameWorldFactory * Get()
INBUILT_WORLD_TYPE
Types of inbuilt world types.
Allows overwriting the used GameWorld class in the engine. By default creates a StandardWorld.
static DLLEXPORT GameWorldFactory * StaticInstance
Global instance. Overwrite this in child class constructors.
virtual DLLEXPORT std::shared_ptr< GameWorld > CreateNewWorld(int worldtype, const std::shared_ptr< PhysicsMaterialManager > &physicsMaterials, int overrideid=-1)
Creates a new world that can be used.
Factory for inbuilt world types.
The access mask controls which registered functions and classes a script sees.
static std::shared_ptr< GameWorld > CreateNewWorld(INBUILT_WORLD_TYPE worldtype, const std::shared_ptr< PhysicsMaterialManager > &physicsMaterials, int overrideid=-1)