MCPcopy Create free account

hub / github.com/blovemaple/mahjong / functions

Functions695 in github.com/blovemaple/mahjong

↓ 1 callersMethodsetWinnerLocation
(PlayerLocation winnerLocation)
src/main/java/com/github/blovemaple/mj/game/GameResult.java:37
↓ 1 callersMethodsetZhuangLocation
(PlayerLocation zhuangLocation)
src/main/java/com/github/blovemaple/mj/game/GameContext.java:30
↓ 1 callersMethodsetZiMo
(Boolean ziMo)
src/main/java/com/github/blovemaple/mj/rule/win/WinInfo.java:78
↓ 1 callersMethodsetup
()
src/main/java/com/github/blovemaple/mj/cli/CliRunner.java:83
↓ 1 callersMethodshowTip
()
src/main/java/com/github/blovemaple/mj/cli/CliPlayer.java:265
↓ 1 callersMethodshowWinAction
(PlayerLocation location, Action action)
src/main/java/com/github/blovemaple/mj/cli/CliGameView.java:341
↓ 1 callersMethodsimAction
(PlayerAction action)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotSimContext.java:82
↓ 1 callersMethodstartCharReading
()
src/main/java/com/github/blovemaple/mj/cli/CliView.java:209
↓ 1 callersMethodtestWinProb
测试指定次换牌后的和牌可能性,并记录。 @param changeCount 换牌次数(另加一张牌) @return 是否有和牌可能 @throws InterruptedException
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotCpgdChoice.java:106
↓ 1 callersMethodthinkingTime
(int min, int max)
src/main/java/com/github/blovemaple/mj/local/AbstractBot.java:44
↓ 1 callersMethodtimeLimit
倒计时有变化时通知。(会通知所有玩家,被通知的玩家不一定要做动作) @param secondsToGo 剩余秒数。null表示倒计时结束或取消。
src/main/java/com/github/blovemaple/mj/object/Player.java:70
↓ 1 callersMethodtoString
()
src/main/java/com/github/blovemaple/mj/action/Action.java:52
↓ 1 callersMethodtoString
()
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotCpgdChoice.java:299
↓ 1 callersMethodtoString
()
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotTileUnit.java:130
↓ 1 callersMethodtryEndGame
根据当前状态判断游戏是否结束。
src/main/java/com/github/blovemaple/mj/rule/GameStrategy.java:106
↓ 1 callersMethodunitsOfHood
(BazBotTileNeighborhood hood)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotTileUnits.java:66
↓ 1 callersMethodwinChangings
(int changeCount)
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotCpgdChoice.java:140
MethodAbstractBot
(String name)
src/main/java/com/github/blovemaple/mj/local/AbstractBot.java:35
MethodAction
新建一个实例。
src/main/java/com/github/blovemaple/mj/action/Action.java:19
MethodActionTypeAndLocation
(ActionType actionType, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/ActionTypeAndLocation.java:19
MethodAngangActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/AngangActionType.java:23
MethodAutoActionTypes
(ActionType type)
src/main/java/com/github/blovemaple/mj/action/standard/AutoActionTypes.java:27
MethodBarBot
(String name)
src/main/java/com/github/blovemaple/mj/local/barbot/BarBot.java:23
MethodBarBotCpgdChoice
(GameContextPlayerView baseContextView, PlayerInfo baseInfo, PlayerAction action, BarBotCpgdSelectTask tas
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotCpgdChoice.java:48
MethodBarBotCpgdSelectTask
(GameContextPlayerView contextView, Set<PlayerActionType> actionTypes)
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotCpgdSelectTask.java:59
MethodBarBotSimChanging
(BarBotCpgdChoice choice, Collection<Tile> removedTiles, Collection<Tile> addedTiles)
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimChanging.java:31
MethodBarBotSimContext
(GameContextPlayerView contextView, Action lastAction, PlayerInfo myInfo)
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimContext.java:35
MethodBazBot
(String name)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBot.java:23
MethodBazBotAliveTiles
(Set<Tile> aliveTiles)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotAliveTiles.java:46
MethodBazBotChoosingTileUnits
构建一个初始的TileUnits,没有选择任何unit。
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotChoosingTileUnits.java:35
MethodBazBotSimContext
(GameContextPlayerView contextView)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotSimContext.java:52
MethodBazBotTileNeighborhood
@param tiles 注意:传入后不会做校验,调用者必须保证tiles是排好序的,并且是一个neighborhood中的牌。
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotTileNeighborhood.java:100
MethodBazBotTileUnit
(boolean isCompleted, StandardTileUnitType unitType, Set<Tile> tiles, BazBotTileNeighborhood hood)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotTileUnit.java:85
MethodBazBotTileUnitType
(boolean isJiang)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotTileUnit.java:49
MethodBazBotTileUnits
(Collection<BazBotTileNeighborhood> neighborhoods)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotTileUnits.java:30
MethodBotCompetition
(Supplier<? extends AbstractBot> botSupplier1, Supplier<? extends AbstractBot> botSupplier2)
src/main/java/com/github/blovemaple/mj/botcompetition/BotCompetition.java:33
MethodBugangActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/BugangActionType.java:26
MethodBuhuaActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/BuhuaActionType.java:28
MethodChangingForWin
(Set<Tile> removedTiles, Set<Tile> addedTiles)
src/main/java/com/github/blovemaple/mj/rule/win/WinType.java:60
MethodCliGameView
新建一个实例。 @param cliView CliView
src/main/java/com/github/blovemaple/mj/cli/CliGameView.java:85
MethodCliPlayer
(String name, CliView cliView)
src/main/java/com/github/blovemaple/mj/cli/CliPlayer.java:64
MethodCliRunner
()
src/main/java/com/github/blovemaple/mj/cli/CliRunner.java:46
MethodCliView
新建一个实例。 @param out 输出流 @param in 输入流 @throws IOException @throws InterruptedException
src/main/java/com/github/blovemaple/mj/cli/CliView.java:49
MethodCpgActionType
新建实例。 @param groupType 组成的牌组类型 @param lastActionRelations 限制上一个动作的玩家(出牌者)与当前玩家的位置关系
src/main/java/com/github/blovemaple/mj/action/standard/CpgActionType.java:52
MethodDealActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/DealActionType.java:21
MethodDiscardActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/DiscardActionType.java:20
MethodDiscardWithTingActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/DiscardWithTingActionType.java:25
MethodDrawActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/DrawActionType.java:24
MethodDrawBottomActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/DrawBottomActionType.java:22
MethodGameContextImpl
(MahjongTable table, GameStrategy gameStrategy, TimeLimitStrategy timeLimitStrategy)
src/main/java/com/github/blovemaple/mj/game/GameContextImpl.java:37
MethodGameContextPlayerViewImpl
(GameContext gameContext, PlayerLocation myLocation)
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerViewImpl.java:26
MethodGameResult
(Map<PlayerLocation, PlayerInfo> playerInfos, PlayerLocation zhuangLocation)
src/main/java/com/github/blovemaple/mj/game/GameResult.java:27
MethodIllegalActionException
(GameContext context, Action action)
src/main/java/com/github/blovemaple/mj/action/IllegalActionException.java:16
MethodLanguageManager
()
src/main/java/com/github/blovemaple/mj/utils/LanguageManager.java:21
MethodLiujuActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/LiujuActionType.java:17
MethodLocalGame
新建一个实例。 @param localPlayer 本地玩家 @param newGameChecker 一局结束后决定是否开始新的一局的函数
src/main/java/com/github/blovemaple/mj/local/LocalGame.java:37
MethodMahjongGame
(GameStrategy gameStrategy, TimeLimitStrategy timeStrategy)
src/main/java/com/github/blovemaple/mj/game/MahjongGame.java:50
MethodMyUtils
()
src/main/java/com/github/blovemaple/mj/utils/MyUtils.java:569
MethodNormalWinType
()
src/main/java/com/github/blovemaple/mj/rule/simple/NormalWinType.java:53
MethodNumberRank
(int number)
src/main/java/com/github/blovemaple/mj/object/TileRank.java:24
MethodParseBranch
(List<TileUnit> units, boolean hasJiang, List<Tile> remainTiles)
src/main/java/com/github/blovemaple/mj/rule/simple/NormalWinType.java:61
MethodPlayerAction
新建一个没有附加牌的实例。
src/main/java/com/github/blovemaple/mj/action/PlayerAction.java:22
MethodPlayerActionTypes
(PlayerActionType type)
src/main/java/com/github/blovemaple/mj/action/standard/PlayerActionTypes.java:73
MethodPlayerTiles
()
src/main/java/com/github/blovemaple/mj/object/PlayerTiles.java:23
MethodPlayerView
(PlayerLocation myLocation)
src/main/java/com/github/blovemaple/mj/object/MahjongTable.java:144
MethodPreUnit
(boolean isJiang, List<Tile> tiles, List<List<TileType>> lackedTypesList, int lackedCount)
src/main/java/com/github/blovemaple/mj/rule/simple/NormalWinType.java:515
MethodReadThread
()
src/main/java/com/github/blovemaple/mj/cli/CliView.java:230
MethodSimpleTimeLimitStrategy
新建一个实例。 @param discardLimit 打牌限时 @param cpkLimit 其他操作限时 @param timeUnit 时间单位
src/main/java/com/github/blovemaple/mj/rule/simple/SimpleTimeLimitStrategy.java:30
MethodStageSwitchAction
(String nextStageName)
src/main/java/com/github/blovemaple/mj/action/StageSwitchAction.java:14
MethodStandardTileUnitType
(int tileCount)
src/main/java/com/github/blovemaple/mj/object/StandardTileUnitType.java:227
MethodTile
(TileType type, int id)
src/main/java/com/github/blovemaple/mj/object/Tile.java:56
MethodTileGroup
新建一个实例。 @param type 类型 @param gotTile 得牌 @param fromRelation 得牌来自于哪个关系的玩家 @param tiles 牌组中的牌 @throws Ille
src/main/java/com/github/blovemaple/mj/object/TileGroup.java:37
MethodTileGroupType
(TileUnitType unitType)
src/main/java/com/github/blovemaple/mj/object/TileGroupType.java:40
MethodTileSuit
(Class<? extends TileRank<?>> rankClass, int tileCountByType)
src/main/java/com/github/blovemaple/mj/object/TileSuit.java:23
MethodTileType
(TileSuit suit, TileRank<?> rank)
src/main/java/com/github/blovemaple/mj/object/TileType.java:56
MethodTileUnit
(TileUnitType type, Collection<Tile> tiles, TileUnitSource source, Tile gotTile)
src/main/java/com/github/blovemaple/mj/object/TileUnit.java:34
MethodWinActionType
()
src/main/java/com/github/blovemaple/mj/action/standard/WinActionType.java:30
Methodaccept
(File file)
src/main/java/com/github/blovemaple/mj/utils/MyUtils.java:541
Methodaccept
(T t, U u)
src/main/java/com/github/blovemaple/mj/utils/LambdaUtils.java:19
MethodactionDone
(Action action)
src/main/java/com/github/blovemaple/mj/game/GameContextImpl.java:83
MethodactionDone
(GameContextPlayerView contextView, Action action)
src/main/java/com/github/blovemaple/mj/cli/CliPlayer.java:314
MethodactionDone
(GameContextPlayerView contextView, Action action)
src/main/java/com/github/blovemaple/mj/local/TestBot.java:40
MethodactionDone
(GameContextPlayerView contextView, Action action)
src/main/java/com/github/blovemaple/mj/local/AbstractBot.java:174
MethodactionDone
(Action action)
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimContext.java:86
MethodactionDone
(Action action)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotSimContext.java:232
MethodactionDone
完成一个动作时通知。
src/main/java/com/github/blovemaple/mj/object/Player.java:62
MethodaddCacheKey
(Function<PlayerInfo, ?> value)
src/main/java/com/github/blovemaple/mj/rule/win/CachedWinFeature.java:31
MethodaddNoYaoJiuKeUnits
(Collection<TileUnit> units)
src/main/java/com/github/blovemaple/mj/rule/win/WinInfo.java:124
Methodapply
(T t, U u)
src/main/java/com/github/blovemaple/mj/utils/LambdaUtils.java:29
Methodapply
(T t)
src/main/java/com/github/blovemaple/mj/utils/LambdaUtils.java:34
Methodcall
()
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotCpgdSelectTask.java:71
MethodcanDo
先使用{@link #meetPrecondition}检查前提条件,如果满足再调用{@link #canDoWithPrecondition} 。 @see com.github.blovemaple.mj.action.ActionType#canDo(com.github.blovemapl
src/main/java/com/github/blovemaple/mj/action/AbstractPlayerActionType.java:38
MethodcanDo
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/PlayerActionTypes.java:79
MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/DiscardActionType.java:23
MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/BugangActionType.java:29
MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/WinActionType.java:33
MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/PlayerActionTypes.java:84
MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/AngangActionType.java:26
MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/CpgActionType.java:72
MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/DrawActionType.java:27
← previousnext →301–400 of 695, ranked by callers