AnnJsonLevel.cpp File Reference
#include <AnnJsonLevel.hpp>
#include <json.hpp>
#include <fstream>
#include "Annwvyn.h"
Include dependency graph for AnnJsonLevel.cpp:

Go to the source code of this file.

Classes

struct  Annwvyn::AnnJsonLevel::AnnJson
 
struct  Annwvyn::phyParam
 
struct  Annwvyn::resLocParam
 

Namespaces

 Annwvyn
 Namespace containing the totality of Annwvyn components.
 

Typedefs

using json_t = nlohmann::json
 

Functions

void Annwvyn::from_json (const json_t &j, AnnVect3 &v)
 
void Annwvyn::from_json (const json_t &j, AnnQuaternion &q)
 
phyShapeType Annwvyn::stringToShape (const std::string &str)
 
void Annwvyn::from_json (const json_t &j, phyParam &p)
 
void Annwvyn::from_json (const json_t &j, AnnGameObjectPtr &obj)
 
AnnLightObject::LightTypes Annwvyn::lightTypeFromString (const std::string &s)
 
void Annwvyn::from_json (const json_t &j, AnnLightObjectPtr &l)
 
void Annwvyn::declareResource (const resLocParam &res)
 
void Annwvyn::from_json (const json_t &j, resLocParam &p)
 

Typedef Documentation

◆ json_t

using json_t = nlohmann::json

Definition at line 10 of file AnnJsonLevel.cpp.