Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
SB::Engine::Factory Class Referencefinal

Static Public Member Functions

static SB::Core::ObjectcreateObjectFromType (rttr::type objectType, SB_ID id=0)
 Create an object from its type.
 
static SB::Core::DatabaseObjectcreateDatabaseObjectFromType (rttr::type objectType, SB_ID id=0)
 

Member Function Documentation

◆ createObjectFromType()

SB::Core::Object * SB::Engine::Factory::createObjectFromType ( rttr::type  objectType,
SB_ID  id = 0 
)
static

Create an object from its type.

Parameters
objectTyperttr::type of the object to create
idoptional id of the object
Returns
the created object represented as the base SB::Core::Object type

The documentation for this class was generated from the following files: