Monday, April 23, 2012
cocos2d 사용하는 프로젝트에서 클래스 간편히 만드는 법
Command + N (또는 왼쪽 Navigator에 오른클릭 > New File..)
Choose a template for your new file... 에서 CCNode class 선택 (디폴트 그대로)
Subclass of CCNode (디폴트 그대로)
Save As.. 에서 원하는 클래스 이름 넣음
@interface MyClass : CCNode {
를
@interface MyClass : NSObject {
로 고침
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment