首页 极刻 圈子 教程 开源
极客社区
写文章 发极刻 建圈子 发项目
标签 shoot 相关标签 c objective ship vehicle 定义

Shoot

Shoot 是一款免费开源的游戏服务器引擎,适用于开发 AVG、SLGRPG、MMOG 等类型的网络游戏,同时支持 Http 和 Socket 协议通讯.

2015-07-06 22:07:22

Objective-C的对象定义

首先定义两个类Vehicle和Ship。@end @interface Ship : Vehicle - (void)shoot;[s shoot];[v shoot];[obj shoot];[hello shoot];编译器不会报警。

84497517 2012-10-19 07:25:10

objective-c的对象定义

首先定义两个类Vehicle和Ship。编译器不会报警,因为向s对象所属类的父类就是Vehicle。编译器会报警了,因为它知道NSString没有这个shoot方法。Ship*helloShip=(Ship*)hello;编译器不会报警。

81731290 2012-10-16 13:34:08

推荐极客

Blaze Blaze 80407013 80407013 fundebug fundebug 87627995 87627995 88916570 88916570 84214254 84214254 86593278 86593278 81701295 81701295

优质内容社区

首页 文章 极刻 开源 标签 关于我们

© 安科网. All rights reserved.