5daad4bc
xiaoyu
游戏源码添加编译(现存问题:游戏内...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//
// 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 */
|