#include "jsonhelpers.h"
Functions | |
QPointF | jsonObjectToPoint (const QJsonObject &obj) |
Converts a JSON object containing the attributes "x" and "y" to a QPointF object. More... | |
QPointF jsonObjectToPoint | ( | const QJsonObject & | obj) |
Converts a JSON object containing the attributes "x" and "y" to a QPointF object.
obj | JSON object with "x" and "y" attributes. |
Referenced by chirpFactory(), pushableObjectFactory(), and wallFactory().