找回密码
 立即注册
Planeclassbinwyf | Unity3D 2022-10-28 77 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
/
该类为枪弹的封装类
记录了枪弹自身的相关参数
外界通过调用move方法移动枪弹
/publicclassBullet{??intx;//枪弹的坐标??inty;??intdir;//枪弹的方向,0停止,1上,2右上,3右,4右下,5下,6左下,7左,8左上??inttype;//枪弹的类型??Bitmapbitmap;//当时枪弹的图像??GameViewgameView;//gameView的引用??privateintmoveSpan=10;//移动的像素本资料共包括以下附件:
Plane\bin\wyf\ytl\Bullet.class
Plane\bin\wyf\ytl\ChangeBullet.class
Plane\bin\wyf\ytl\ConstantUtil.class
Plane\bin\wyf\ytl\EnemyPlane.class
Plane\bin\wyf\ytl\Explode.class
Plane\bin\wyf\ytl\ExplodeThread.class
Plane\bin\wyf\ytl\FailView$TutorialThread.class
Plane\bin\wyf\ytl\FailView.class
Plane\bin\wyf\ytl\GameView$TutorialThread.class
Plane\bin\wyf\ytl\GameView.class
Plane\bin\wyf\ytl\GameViewBackGroundThread.class
Plane\bin\wyf\ytl\HelpView$TutorialThread.class
Plane\bin\wyf\ytl\HelpView.class
Plane\bin\wyf\ytl\KeyThread.class
Plane\bin\wyf\ytl\Life.class
Plane\bin\wyf\ytl\Maps.class
Plane\bin\wyf\ytl\MoveThread.class
Plane\bin\wyf\ytl\Plane.class
Plane\bin\wyf\ytl\PlaneActivity.class
Plane\bin\wyf\ytl\ProcessView$TutorialThread.class
Plane\bin\wyf\ytl\ProcessView.class
Plane\bin\wyf\ytl\R$attr.class
Plane\bin\wyf\ytl\R$drawable.class
Plane\bin\wyf\ytl\R$layout.class
Plane\bin\wyf\ytl\R$raw.class
Plane\bin\wyf\ytl\R$string.class
Plane\bin\wyf\ytl\R.class
Plane\bin\wyf\ytl\WelcomeView$TutorialThread.class
Plane\bin\wyf\ytl\WelcomeView.class
Plane\bin\wyf\ytl\WelcomeViewThread.class
.....

(/
This class is a cartridge encapsulation class
Relevant parameters of the cartridge itself are recorded
The outside world moves the cartridge by calling the move method
/PublicclassBullet {?? intx;//The bullet coordinate?? inty;?? intdir;//The bullet direction, 0 stop, 1 top, 2 top right, 3 right, 4 bottom right, 5 bottom, 6 bottom left, 7 left, 8 top left?? inttype;//The bullet type?? Bitmapbitmap;//The image of the bullet at that time?? GameViewgameView;//The reference of the gameView?? privateintmoveSpan=10;//The moved pixel data includes the following attachments:
Plane\bin\wyf\ytl\Bullet.class
Plane\bin\wyf\ytl\ChangeBullet.class
Plane\bin\wyf\ytl\ConstantUtil.class
Plane\bin\wyf\ytl\EnemyPlane.class
Plane\bin\wyf\ytl\Explode.class
Plane\bin\wyf\ytl\ExplodeThread.class
Plane\bin\wyf\ytl\FailView$TutorialThread.class
Plane\bin\wyf\ytl\FailView.class
Plane\bin\wyf\ytl\GameView$TutorialThread.class
Plane\bin\wyf\ytl\GameView.class
Plane\bin\wyf\ytl\GameViewBackGroundThread.class
Plane\bin\wyf\ytl\HelpView$TutorialThread.class
Plane\bin\wyf\ytl\HelpView.class
Plane\bin\wyf\ytl\KeyThread.class
Plane\bin\wyf\ytl\Life.class
Plane\bin\wyf\ytl\Maps.class
Plane\bin\wyf\ytl\MoveThread.class
Plane\bin\wyf\ytl\Plane.class
Plane\bin\wyf\ytl\PlaneActivity.class
Plane\bin\wyf\ytl\ProcessView$TutorialThread.class
Plane\bin\wyf\ytl\ProcessView.class
Plane\bin\wyf\ytl\R$attr.class
Plane\bin\wyf\ytl\R$drawable.class
Plane\bin\wyf\ytl\R$layout.class
Plane\bin\wyf\ytl\R$raw.class
Plane\bin\wyf\ytl\R$string.class
Plane\bin\wyf\ytl\R.class
Plane\bin\wyf\ytl\WelcomeView$TutorialThread.class
Plane\bin\wyf\ytl\WelcomeView.class
Plane\bin\wyf\ytl\WelcomeViewThread.class
.....)

[下载]20113131423.rar




上一篇:Android游戏开发《热血足球》源码(超详细注释)
下一篇:Android游戏源代码《2D迷你桌球》附详细注释