摘要:
满足正式协议 protocol 的委托只能执行协议中的方法,#import <Foundation/Foundation.h>@protocol GameBoardControllerDelegate <NSObject>@optional- (NSInteger)getColumns;- (NSInteger)getRows;@end#import "cocos2d.h"#import "GameBoardControllerDelegate.h" //MVC中的C@class GameBoard;@class GameBoar 阅读全文
posted @ 2012-05-19 18:30
pengyingh
阅读(524)
评论(0)
推荐(0)


浙公网安备 33010602011771号