Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 32 lines (25 sloc) 686 Bytes
// HelloWorldScene.h
// CuteAPultCocos2D-x
// Created by Clawoo on 9/8/11.
// Copyright __MyCompanyName__ 2011. All rights reserved.
#ifndef __HELLO_WORLD_H__
#define __HELLO_WORLD_H__
// When you import this file, you import all the cocos2d classes
#include "cocos2d.h"
#include "Box2D.h"
class HelloWorld : public cocos2d::CCLayer {
// returns a Scene that contains the HelloWorld as the only child
static cocos2d::CCScene* scene();
// adds a new sprite at a given coordinate
virtual void draw();
void tick(cocos2d::ccTime dt);
b2World* world;
#endif // __HELLO_WORLD_H__
Jump to Line
Something went wrong with that request. Please try again.