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
5namespace 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
Base object type for any object that can exist in the editor/database. Holds an ID and name.
Definition database_object.h:22
Simple base Object that all Sound Bakery objects should inherit from.
Definition object.h:33
Definition factory.h:8