Cocos2d-x by Example:Beginner's Guide(Second Edition)
上QQ阅读APP看书,第一时间看更新

The class interface

This will be done in a .h file. We'll use a text editor to create this file since I don't want any code hinting and autocompletion features getting in the way of you learning the basics of C++ syntax. So for now at least, open up your favorite text editor. Let's create a class interface!