摘要:
public boolean onKeyBackEvent() { //如果当前的当前处于机舱门关闭的状态,那么按下返回键,机舱门打开 if(!isGameOn&&1==isMenuLevel&&doorState==2) { doorState=0; return true; ... 阅读全文
posted @ 2015-06-02 23:59
Anzhongliu
阅读(207)
评论(0)
推荐(0)
摘要:
if(doorState==2&&curr_menu_index==2)//排行榜界面的移动 { if(rank_move-dy*TOUCH_SCALE_FACTOR*0.002f>0)//确定移动的范围 ... 阅读全文
posted @ 2015-06-02 23:44
Anzhongliu
阅读(222)
评论(0)
推荐(0)
摘要:
ACTION_DOWN: if(1==isMenuLevel)//一级菜单 { if(doorState==1)//当前为开仓状态,并且没有弹出对话框 { if(hasInertia)//按下时,如果有惯性,那么直接停止 { hasInert... 阅读全文
posted @ 2015-06-02 23:25
Anzhongliu
阅读(266)
评论(0)
推荐(0)
摘要:
public boolean onTouchEvent(MotionEvent e) { act_Main.onKeyNum=0; float x = e.getX(); float y = e.getY(); switch (e.getAction()) { case MotionE... 阅读全文
posted @ 2015-06-02 23:10
Anzhongliu
阅读(227)
评论(0)
推荐(0)

浙公网安备 33010602011771号