Demo entry 5862516



Submitted by anonymous on Aug 09, 2016 at 02:03
Language: C++. Code size: 503 Bytes.


#include "cocos2d.h"

class HelloWorld : public cocos2d::Layer

    /*mouse call back function*/

    void onMouseMove(cocos2d::Event * event);
    void onMouseUp(cocos2d::Event * event);
    void onMouseDown(cocos2d::Event * event);
    void onMouseScroll(cocos2d::Event * event);

#endif // __HELLOWORLD_SCENE_H__

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).