Sound Bakery 
v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
factory.h
1
#pragma once
2
3
#include "sound_bakery/pch.h"
4
5
namespace
SB::Engine
6
{
7
class
SB_CLASS
Factory
final
8
{
9
public
:
17
static
SB::Core::Object
* createObjectFromType(rttr::type objectType, SB_ID
id
= 0);
18
19
static
SB::Core::DatabaseObject
* createDatabaseObjectFromType(rttr::type objectType, SB_ID
id
= 0);
20
};
21
}
// namespace SB::Engine
SB::Core::DatabaseObject
Base object type for any object that can exist in the editor/database. Holds an ID and name.
Definition
database_object.h:22
SB::Core::Object
Simple base Object that all Sound Bakery objects should inherit from.
Definition
object.h:33
SB::Engine::Factory
Definition
factory.h:8
src
sound_bakery
factory.h
Generated by
1.9.8