HPlainNode.h
723 Bytes
//
// HPlainNode.h
// SteveMaggieCpp
//
// Created by Katarzyna Kalinowska-Górska on 17.05.2017.
//
//
#ifndef HPlainNode_h
#define HPlainNode_h
#include "cocos2d.h"
#include "HLayoutObject.h"
#include "HLayoutParser.h"
class HPlainNode : public cocos2d::Node, public HLayoutObject
{
public:
static HPlainNode* create();
// virtual bool init() override;
virtual void loadPropertiesFromJSON(const rapidjson::Value& jsonValue, HLayoutViewInterface* scene = NULL, const std::string resFolder = "", const std::string altResFolder = "") override;
virtual void prepareSize(const rapidjson::Value& jsonValue, float& width, float& height) override;
};
#endif /* HPlainNode_h */