Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Olympe::Blueprint::ComponentData Struct Reference

#include <EntityBlueprint.h>

+ Collaboration diagram for Olympe::Blueprint::ComponentData:

Public Member Functions

 ComponentData ()=default
 
 ComponentData (const std::string &t)
 
 ComponentData (const std::string &t, const json &props)
 

Public Attributes

std::string type
 
json properties
 

Detailed Description

Definition at line 20 of file EntityBlueprint.h.

Constructor & Destructor Documentation

◆ ComponentData() [1/3]

Olympe::Blueprint::ComponentData::ComponentData ( )
default

◆ ComponentData() [2/3]

Olympe::Blueprint::ComponentData::ComponentData ( const std::string &  t)
inline

Definition at line 26 of file EntityBlueprint.h.

◆ ComponentData() [3/3]

Olympe::Blueprint::ComponentData::ComponentData ( const std::string &  t,
const json props 
)
inline

Definition at line 27 of file EntityBlueprint.h.

Member Data Documentation

◆ properties

json Olympe::Blueprint::ComponentData::properties

Definition at line 23 of file EntityBlueprint.h.

Referenced by TestLoadAndModifyBlueprint().

◆ type

std::string Olympe::Blueprint::ComponentData::type

The documentation for this struct was generated from the following file: