mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
Changed from New BSD to a custom license. The new license requires a Spine license to use the code. If you have a valid Spine license, you can do whatever you like with the code. This should not be a problem for anyone using the runtimes with Spine, nothing changes. If using the runtimes without a Spine license, you now need a Spine license. This is because the runtimes were created explicitly to be used with Spine.
22 lines
376 B
C++
22 lines
376 B
C++
|
|
|
|
#ifndef _EXAMPLELAYER_H_
|
|
#define _EXAMPLELAYER_H_
|
|
|
|
#include "cocos2d.h"
|
|
#include <spine/spine-cocos2dx.h>
|
|
|
|
class ExampleLayer: public cocos2d::CCLayer {
|
|
private:
|
|
spine::CCSkeletonAnimation* skeletonNode;
|
|
|
|
public:
|
|
static cocos2d::CCScene* scene ();
|
|
|
|
virtual bool init ();
|
|
virtual void update (float deltaTime);
|
|
|
|
CREATE_FUNC (ExampleLayer);
|
|
};
|
|
|
|
#endif // _EXAMPLELAYER_H_
|