See the file LICENSE for the license governing this code.
Includes headers for libraries used by this game, including cocos2dx and the C++ Standard Library. Box2d, OIS and Soomla are also used, however they are not included here because they are only necessary to be included in a few C++ files.
Includes cocos2d-x.
Uses the cocos2d
namespace so instead of cocos2d::Node
— for example — it is possible to use Node
.
#pragma once
#include "cocos2d.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
using cocos2d::Point;
using cocos2d::Size;
Includes the C++ standard library.
Uses the std
namespace so instead of std::string
it is possible simply write string
.
#include <string>
#include <sstream>
#include <deque>
#include <memory>
#include <vector>
#include <map>
#include <list>
#include <stdlib.h>
#include <math.h>
#include <iomanip>
using namespace std;
Core
Object types