Brunot
Loading...
Searching...
No Matches
ChildrenHandeler.cpp File Reference
Include dependency graph for ChildrenHandeler.cpp:

Functions

auto BuildComponent (unsigned int comp, const json &j) -> Component *
auto from_json (const json &j, ChildrenHandeler< Component > &ch) -> void
auto from_json (const json &j, ChildrenHandeler< Node > &ch) -> void

Function Documentation

◆ BuildComponent()

auto BuildComponent ( unsigned int comp,
const json & j )->Component *

Builds the correct type of component to add to entity from ComponentType

Parameters
compComponentType from Json
jJson object
Returns
Component
Here is the caller graph for this function:

◆ from_json() [1/2]

auto from_json ( const json & j,
ChildrenHandeler< Component > & ch )->void

Overload functions specific to Component

Here is the call graph for this function:

◆ from_json() [2/2]

auto from_json ( const json & j,
ChildrenHandeler< Node > & ch )->void

Overload functions specific to Node there's no current way to log 'r' so for now no implementation

Here is the call graph for this function: