The class containing Json implemenation for building components.
More...
#include <cassert>
#include "Framework/GameObject.h"
#include <vector>
#include <functional>
#include <ranges>
#include <set>
#include "Component.h"
Go to the source code of this file.
The class containing Json implemenation for building components.
The containing the handles on child objects for entities.
- Author
- Marcelo Escamilla (marce.nosp@m.lo.e.nosp@m.scami.nosp@m.lla@.nosp@m.digip.nosp@m.en.e.nosp@m.du)
- Date
- 2025 / 01 / 19
- Copyright
- (c) Digipen 2026
- Author
- Aidan Hartman (aidan.nosp@m..har.nosp@m.tman@.nosp@m.digi.nosp@m.pen.e.nosp@m.du)
- Date
- 2025 / 01 / 19
- Copyright
- (c) Digipen 2026
◆ LOG_CHILDREN_HANDELER
| #define LOG_CHILDREN_HANDELER 0 |
a flag to enable full logging of ChildrenHandeler, even if log level is set higher than DEBUG
◆ BuildComponent()
| auto BuildComponent |
( |
unsigned int | comp, |
|
|
const json & | j )->Component * |
Builds the correct type of component to add to entity from ComponentType
- Parameters
-
| comp | ComponentType from Json |
| j | Json object |
- Returns
- Component
◆ from_json()
there should be no default implementation for this template needs to the cpp from_json
◆ to_json()