-
小游戏源码
说明: 飞机大战 首先对这个游戏分析,在屏幕上的物体都是飞行物,我们可以把建一个类,让其他飞行物继承这个类.游戏中应有英雄机(也就是自己控制的飞机)、敌人。而敌人应该分为打死给分的飞机(就是普通飞机),另一种就是打死有奖励的敌人。他们都应该是飞行物的子类,我们也可以为普通飞机和给奖励的敌人设一个接口让他们去实现接口,这样有利于以后的扩展,我在这里给的简化版的飞机大战,主要是为了让大家了解面向对象。(First of all, analyze the game. The objects on the screen are flying objects. We can build a class and let other flying objects inherit this class. There should be hero planes (i.e., planes controlled by ourselves) and enemies in the game. And the enemy should be divided into killing the aircraft (that is, ordinary aircraft), the other is to kill the enemy with reward. They should be subclasses of flying objects. We can also set an interface for ordinary aircraft and reward enemies to implement the interface, which is conducive to future expansion. The simplified version of aircraft War I gave here is mainly to let you understand object-oriented.)
- 2020-10-02 09:59:10下载
- 积分:1
-
Thinking.In.Java.3rd
java编程思想,比较经典的一本书,从入门到进阶(think in java)
- 2014-10-30 21:22:40下载
- 积分:1
-
bridge
模拟网桥功能。Analog Bridge Function(Analog Bridge Function)
- 2009-12-28 12:26:17下载
- 积分:1
-
ebookProject
java电子书管理系统,对电子书的增删改查,初学者适应(Java student information management system, mainly include: add and delete student information, for information management. Suitable for beginners.)
- 2016-03-28 14:09:46下载
- 积分:1
-
patch1.3-4.tar
for simulatio wireless sensor network
- 2011-11-29 04:45:01下载
- 积分:1
-
man
编写一个接口ICaculatable 接口中有一个doCaculte()方法
要求三个类BlackMan WhiteMan YellowMan实现这个方法
BlackMan 实现从控制台输入5个数 排序(正排)输出
WhiteMan 实现从控制台输入5个数 排序(倒排)
YellowMan 实现从控制台输入5个数 计算总和 输出
写出一个测试类来测试以上类的功能。
测试类中要有void solveProblem(ICaculatable obj)方法进行测试
要求以上类在不同的包当中。(The preparation of an interface, there is a ICaculatable interface doCaculte () method requires three types of BlackMan WhiteMan YellowMan method to achieve this BlackMan input from the console 5, the number of sort (being ranked) output from the console WhiteMan enter the number 5 ranking (inverted ) YellowMan input from the console 5, the number of calculation of the sum of the output type to write a test to test the functions of the above categories. Test category must be void solveProblem (ICaculatable obj) method of the above testing requirements in different types of packages were.)
- 2009-05-16 22:17:27下载
- 积分:1
-
-ccbp
大学物理创新平台,以C++和JAVA为基础开发的平台(University Physics innovative platform for C and Java-based development platform)
- 2007-06-24 14:16:01下载
- 积分:1
-
TomExam2_With_JTM
tomexam,一个简单易用的在线考试系统。tomcat、java、mysql.(tomexam, a simple-to-use online examination system. tomcat, java, mysql.)
- 2017-01-12 14:46:20下载
- 积分:1
-
spring
使用spring框架所需要的spring核心jar包(Spring core jar package)
- 2018-01-04 15:14:02下载
- 积分:1
-
twx
是一个用于显示球的哦,呵呵,代码简短,功能均已实现,不可多得啊,(is a show for the ball, oh, what a short code, functions have been achieved, ah rare that the word)
- 2007-06-18 17:41:45下载
- 积分:1