Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Functions
Olympe::Editor Namespace Reference

Classes

class  Command
 
class  DeleteEntityCommand
 
class  EditorState
 
struct  EditorStateData
 
struct  EntityInstance
 
struct  LevelDefinition
 
class  LevelManager
 
struct  LevelMetadata
 
class  MoveEntityCommand
 
class  PlaceEntityCommand
 
class  SetCollisionCommand
 
class  SetTileCommand
 
class  TilemapEditorApp
 

Functions

void to_json (json &j, const Vector &v)
 
void from_json (const json &j, Vector &v)
 
void to_json (json &j, const EntityInstance &e)
 
void from_json (const json &j, EntityInstance &e)
 

Function Documentation

◆ from_json() [1/2]

void Olympe::Editor::from_json ( const json j,
EntityInstance e 
)

Definition at line 61 of file LevelManager.cpp.

References from_json(), and GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ from_json() [2/2]

void Olympe::Editor::from_json ( const json j,
Vector v 
)

Definition at line 29 of file LevelManager.cpp.

References GetComponentTypeID_Static().

Referenced by Olympe::Editor::LevelManager::DeserializeFromJson(), and from_json().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ to_json() [1/2]

void Olympe::Editor::to_json ( json j,
const EntityInstance e 
)

Definition at line 37 of file LevelManager.cpp.

References GetComponentTypeID_Static(), and to_json().

+ Here is the call graph for this function:

◆ to_json() [2/2]

void Olympe::Editor::to_json ( json j,
const Vector v 
)

Definition at line 21 of file LevelManager.cpp.

References GetComponentTypeID_Static().

Referenced by Olympe::Editor::LevelManager::SerializeToJson(), and to_json().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: