VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::ECS Class Reference

Entity Component System Will mainly encapsulate the fabulous flecs library (https://github.com/SanderMertens/flecs.git) This class will be contained in the VenomEngine class. Also manages/lists all components types for browsing. More...

#include <ECS.h>

Public Member Functions

template<InheritsFromComponent T>
void RegisterComponent (const vc::String &name)
 
Entity CreateEntity ()
 
Entity CreateEntity (const char *name)
 
Entity CreatePrefab (const char *name)
 
template<typename... Comps, typename... Args>
System CreateSystem (const char *name)
 

Static Public Member Functions

static Entity GetEntity (const char *name)
 
template<typename... Args>
static void ForEach (auto &&func)
 
static void Each (auto &&func)
 
static vc::String GenerateUniqueEntityName ()
 
static bool IsNameAvailable (const char *name)
 
static ECSGetECS ()
 
static void UpdateWorld ()
 

Friends

class GUI
 
class VenomComponent
 
class StaticVenomCanCreateComponent
 

Detailed Description

Entity Component System Will mainly encapsulate the fabulous flecs library (https://github.com/SanderMertens/flecs.git) This class will be contained in the VenomEngine class. Also manages/lists all components types for browsing.


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