freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

java課程設(shè)計(jì)小游戲-預(yù)覽頁(yè)

 

【正文】 //敵機(jī)left圖片 Image el_0_r=null。//敵機(jī)爆炸0圖片 Image bomb_1=null。//大爆1圖片 Image db_2=null。//背景滾動(dòng)變量 int hero_oldx,hero_oldy。//hero開(kāi)火 boolean isblast。//大爆的數(shù)量 boolean blastc。 Font SS=new Font(幼圓,25)。 (back,0)。 (fire,2)。 (el_0,4)。 (el_0_r,6)。 (el_bb_0,8)。 (bomb_1,10)。 (bomb_3,12)。 (db_2,14)。 y=(5*)。 hero_oldy=hero_y。 E_num=0。 E_hit=97。 blastc=false。 (導(dǎo)彈:+blastnum,25)。 ()。 } (S)。 if(hero_hp==1){ (f)。 (SS)。 try{ (50)。 (GAME, / 2 / 4, / 2 / 16)。 (請(qǐng)按下鼠標(biāo)左鍵重來(lái), / 2 / 4, / 2 + / 10)。 } //顯示信息 if((y)()*550){ (本游戲即將開(kāi)始,)。 (y)()*4+150){ E_max=13。 (第一關(guān)即將開(kāi)始,)。 E_vel=9。 } if((y)()*2 amp。 E_mov=90。amp。 E_hit=89。 E_mov=90。i()。 } if(=6){ (el_bb_0,13,15,this)。 bs=(PlayerBullet)(i)。i()。 (db_1,200,200,this)。 } }else{ (i)。 bombs=(Bomb)(i)。 20){ (bomb_1,50,50,this)。 } if(40){ (bomb_3,50,50,this)。i++){ Enemy es。 ! amp。 }else if(){ (el_0_r,50,50,this)。 } public void run(){ int cont=0。 es=new Enemy((int)(()*()),E_vel,E_mov,E_hit)。i()。amp。 (bombs)。 ()。amp。 } } } else{ (i)。 bs=(PlayerBullet)(i)。j()。amp。 blastc=true。 } } } if(){ ()。i++){ Blast blast。j++){ Enemy es。 ){//敵機(jī)存活 (,)。 bombs=new Bomb(,)。 }//清除擊中的子彈 } //處理爆炸s for(int i=0。 if(){ ()。i++){ EnemyBullet ebs。amp。amp。 } else if(!){ //(HIT YOU)。 } } if(Sum%500==0amp。blastc){//符合條件增加大爆 blastnum++。 } if(isfire){ BBmove(BBx,BBy)。 } repaint()。 } } } public void BBmove(int x,int y){ PlayerBullet pb。 } (pb)。 } public void mouseDragged(MouseEvent e){ isfire=true。 hero_y=()35。 } if(BBy25){ BBy=25。 } if((hero_yhero_oldy)15){ hero_y=hero_oldy15。 } if(hero_y0){ hero_y=0。 hero_y=()35。 } if(hero_y0){ hero_y=0。 } if((hero_yhero_oldy)15){ hero_y=hero_oldy15。 =null。 (7)。 hero_oldx=hero_x。 // dir=0。 E_vel=7。 isblast=false。 ()。 } else{ isfire=true。 if(BBx=()){ BBx=。 } } } if(()==){ if(blastnum=1){ isblast=true。 blastnum。 } public void mouseEntered(MouseEvent e) { } public void mouseExited(MouseEvent e) { }}package lightning。import 。public class Game extends JFrame{ int x,y。 //(+x+ +y)。 (false)。 Container =getContentPane()。 ()。 int vx。 EnemyBullet(int x,int y,int a,int b) { =x。 if(a){ =2。 } } public void move(){ if(=20){ =0。 } public void hit(int a,int b){ if(((x+10)(a+25))28 amp。 } }}package lightning。 int cont。 =20。 ++。 } else{ =true。 int r。 int cont。 public Enemy(int x,int vy,int r,int f) { =x。 =r。amp。 } else if(50 amp。 =true。 =false。 } public boolean tofire(){ if(()*100f){ return true。 ((y+25)(b+25))28){ =false。 ((y+25)(d+25))100){ =false。 int y。 =y。 ++。 int cont。 =0。 } }
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1