铿锵蓝牙斗地主
com/gale/landlord/screens/WaitRoomUI.java
private final void startGameAction()
{
if (GameGlobal.curPlayers >= 3)
{
if (GameGlobal.curReadys >= 2)
{
if (AppOffersManager.getPoints(GameActivity.getInstance()) > 0)
{
GameGlobal.own.notifyOthers( " GAMESTART ");
GameGlobal.gameMainLoopUI.startGame();
GameGlobal.gameMainLoopUI.show();
}
else
{
PopDialog.getInstance().showMessage( this, 2, " 抱歉您的积分不足,不能开始游戏,免费获取积分? ");
}
}
else
AlertDialog.getInstance().showMessage( " 请等所有玩家都准备好 ");
}
else
AlertDialog.getInstance().showMessage( " 人数不够 ");
}
if (GameGlobal.curPlayers >= 3)
{
if (GameGlobal.curReadys >= 2)
{
if (AppOffersManager.getPoints(GameActivity.getInstance()) > 0)
{
GameGlobal.own.notifyOthers( " GAMESTART ");
GameGlobal.gameMainLoopUI.startGame();
GameGlobal.gameMainLoopUI.show();
}
else
{
PopDialog.getInstance().showMessage( this, 2, " 抱歉您的积分不足,不能开始游戏,免费获取积分? ");
}
}
else
AlertDialog.getInstance().showMessage( " 请等所有玩家都准备好 ");
}
else
AlertDialog.getInstance().showMessage( " 人数不够 ");
}
破解版本下载:
http://pan.baidu.com/s/1gdtNoFh
破解版本将开始游戏前会判断积分是否大于0的条件进行了修改,修改后的版本,不管你的积分够不够,都可以开始游戏。
修改轮流出牌的时间间隔:
com.gale.landlord.modle.GamePlayer.java
public int max_time = 30;
默认为30秒,修改即可。
还有 com.gale.landlord.screens.GameMainLoopUI.java
startGameLoop() 方法中的:
GameGlobal.third.setTimeOut(30);
...
GameGlobal.second.setTimeOut(30);
...
GameGlobal.own.setTimeOut(30);
轮流出牌时间间隔由30秒改为60秒破解版:
http://pan.baidu.com/s/1gdtNoFh
本文转自远哥博客园博客,原文链接:http://www.cnblogs.com/taven/archive/2012/03/10/2389527.html,如需转载请自行联系原作者