-
该程序描述的是一个螺旋队列的小程序,是在程序员笔试及面试时经常会遇到的一个小程序,有兴趣的朋友可以下载看看!...
该程序描述的是一个螺旋队列的小程序,是在程序员笔试及面试时经常会遇到的一个小程序,有兴趣的朋友可以下载看看!-The procedure described is a small spiral queue process is a written examination and interview in the programmers often encounter a small program, interested friends can download to see!
- 2022-02-12 19:45:30下载
- 积分:1
-
实例09
实例09-多人聊天室-09-people chat room
- 2022-04-16 06:49:32下载
- 积分:1
-
first part of the init () method to load the game all the necessary resources, i...
? 部分内容
首先我们在init()方法中加载所有游戏必要的资源,包括声音,鼠标事件的监听、背景等相关设置。利用addBomb()方法增加bomb的数量、初始位置及初始化颜色。再利用start()启动线程。线程调用run()方法,处理炸弹下降运动down()。Repaint()会在每一个单位时间调用paint()方法不断的刷新屏幕,paint()调用Bomb.addBomb()绘制炸弹。当游戏者按下鼠标,mousePress()事件激活,判断是否点中了炸弹。如果点中addScore()自动加1分。如果没有点中炸弹,炸弹继续下降,当撞到屏幕wasHitEarth()方法激活,其内调用death()方法,减少Denfenser.life生命点,同时audio.play()处理声音的播放,用以提示游戏者。当你的生命点数小于0时”Game Over”。-first part of the init () method to load the game all the necessary resources, including the voices of the mouse wiretapping, and other relevant background set. Use addBomb () method to increase the number of bomb, the initial location and initialization color. Reuse start () activated threads. Call threads run () method to deal with bomb dropped down Movement (). Hamas () in a unit time per call to paint () method is constantly refresh the screen, paint () call Bomb.addBomb () to draw bomb. When pressed mouse game, mousePress () activation of the incident to determine whether the point of the bomb. If the
- 2022-05-20 07:56:26下载
- 积分:1
-
登录脚本
此编码的帮助到登录窗体是如何工作的你显示你当你想要使登录你的网站它真的真的可以帮助你。和 iam 坝肯定它还可以帮助您更多然后更多。
- 2022-03-21 00:53:51下载
- 积分:1
-
PC端通过WINCE端实现摄像功能,不错的源程序
PC端通过WINCE端实现摄像功能,不错的源程序-PC client through the client realize WINCE camera features, a good source
- 2022-05-10 23:22:42下载
- 积分:1
-
一个好的 代理的例子
一个好的 代理的例子-a good example
- 2022-02-10 00:21:37下载
- 积分:1
-
实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显...
实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。-achieve a complete network of four mahjong games, the procedures set server and client functions and integration. This chapter introduces the non-reciprocal network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.
- 2022-02-03 16:18:09下载
- 积分:1
-
一个简单的邮件发送器
一个简单的邮件发送器-a simple mail sender
- 2022-03-11 16:24:01下载
- 积分:1
-
VB进程间通讯演示附源代码 2002021801
VB进程间通讯演示附源代码 2002021801-VB inter-process communication demo source code 2002021801 :
- 2022-04-21 22:10:00下载
- 积分:1
-
俄罗斯方块
一个俄罗斯方块游戏
对游戏控制的类
package com.main;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.EtchedBorder;
public class ControlPanl extends JPanel
- 2022-01-22 00:16:48下载
- 积分:1