MCPcopy Create free account

hub / github.com/blovemaple/mahjong / functions

Functions695 in github.com/blovemaple/mahjong

MethodcanPass
(GameContext context, PlayerLocation location)
src/main/java/com/github/blovemaple/mj/action/standard/BuhuaActionType.java:31
MethodchangingsForWin
(PlayerInfo playerInfo, int changeCount, Collection<Tile> candidates)
src/main/java/com/github/blovemaple/mj/rule/simple/NormalWinType.java:262
MethodcheckReady
{@inheritDoc}<br> 桌上所有位置都有玩家就返回true。 @see com.github.blovemaple.mj.rule.GameStrategy#checkReady(com.github.blovemaple.mj.object.MahjongTable)
src/main/java/com/github/blovemaple/mj/rule/AbstractGameStrategy.java:43
MethodchooseAction
(GameContextPlayerView contextView, Set<PlayerActionType> actionTypes, PlayerAction illegalAction)
src/main/java/com/github/blovemaple/mj/cli/CliPlayer.java:75
MethodchooseAction
(GameContextPlayerView contextView, Set<PlayerActionType> actionTypes, PlayerAction illegalAction)
src/main/java/com/github/blovemaple/mj/local/TestBot.java:26
MethodchooseAction
(GameContextPlayerView contextView, Set<PlayerActionType> actionTypes)
src/main/java/com/github/blovemaple/mj/local/AbstractBot.java:65
MethodchooseCpgdAction
(GameContextPlayerView contextView, Set<PlayerActionType> actionTypes, List<PlayerAction> actions)
src/main/java/com/github/blovemaple/mj/local/barbot/BarBot.java:39
MethodchooseCpgdAction
(GameContextPlayerView contextView, Set<PlayerActionType> actionTypes, List<PlayerAction> actions)
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBot.java:31
Methodcompare0
(T r1, T r2)
src/main/java/com/github/blovemaple/mj/object/TileRank.java:59
MethodcompareTo
(TileType o)
src/main/java/com/github/blovemaple/mj/object/TileType.java:94
Methodcovered
返回被此番种覆盖的番种。如果此番种已计入,则不计被覆盖的番种。
src/main/java/com/github/blovemaple/mj/rule/win/FanType.java:29
Methodcovered
()
src/main/java/com/github/blovemaple/mj/rule/simple/SimpleFanType.java:31
MethoddistinctBy
将指定的流按照指定标识符去重。标识符用指定的函数获取。 @param stream 流 @param identifierFunction 获取标识符的函数 @return 去重后的流
src/main/java/com/github/blovemaple/mj/utils/MyUtils.java:341
MethoddoAction
{@inheritDoc}<br> 默认实现为用{@link #isLegalAction}检查是否合法,如果合法则调用{@link #doLegalAction}执行动作。 @see com.github.blovemaple.mj.action.ActionType#doAction(Game
src/main/java/com/github/blovemaple/mj/action/AbstractPlayerActionType.java:145
MethoddoAction
(GameContext context, Action action)
src/main/java/com/github/blovemaple/mj/action/standard/DealActionType.java:29
MethoddoAction
(GameContext context, Action action)
src/main/java/com/github/blovemaple/mj/action/standard/WinActionType.java:64
MethoddoAction
(GameContext context, Action action)
src/main/java/com/github/blovemaple/mj/action/standard/StageSwitchActionType.java:30
MethoddoAction
(GameContext context, Action action)
src/main/java/com/github/blovemaple/mj/action/standard/PlayerActionTypes.java:94
MethoddoAction
(GameContext context, Action action)
src/main/java/com/github/blovemaple/mj/action/standard/AutoActionTypes.java:33
MethoddoAction
(GameContext context, Action action)
src/main/java/com/github/blovemaple/mj/action/standard/LiujuActionType.java:25
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/DiscardActionType.java:51
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/BugangActionType.java:50
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/WinActionType.java:93
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/DrawBottomActionType.java:32
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/AngangActionType.java:47
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/CpgActionType.java:102
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/DrawActionType.java:51
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/DiscardWithTingActionType.java:54
MethoddoLegalAction
(GameContext context, PlayerLocation location, Set<Tile> tiles)
src/main/java/com/github/blovemaple/mj/action/standard/BuhuaActionType.java:71
Methodequals
(Object obj)
src/main/java/com/github/blovemaple/mj/rule/win/WinType.java:77
Methodequals
(Object obj)
src/main/java/com/github/blovemaple/mj/action/ActionTypeAndLocation.java:55
Methodequals
(Object obj)
src/main/java/com/github/blovemaple/mj/action/PlayerAction.java:77
Methodequals
(Object obj)
src/main/java/com/github/blovemaple/mj/object/TileGroup.java:152
MethodgetActionPriorityComparator
和>补花>杠>碰>吃>其他,相同的比较与上次动作的玩家位置关系。 @see com.github.blovemaple.mj.rule.GameStrategy#getActionPriorityComparator()
src/main/java/com/github/blovemaple/mj/rule/AbstractGameStrategy.java:98
MethodgetActionTilesSize
()
src/main/java/com/github/blovemaple/mj/action/standard/DiscardActionType.java:33
MethodgetActionTilesSize
()
src/main/java/com/github/blovemaple/mj/action/standard/BugangActionType.java:39
MethodgetActionTilesSize
()
src/main/java/com/github/blovemaple/mj/action/standard/WinActionType.java:47
MethodgetActionTilesSize
()
src/main/java/com/github/blovemaple/mj/action/standard/AngangActionType.java:36
MethodgetActionTilesSize
()
src/main/java/com/github/blovemaple/mj/action/standard/CpgActionType.java:89
MethodgetActionTilesSize
()
src/main/java/com/github/blovemaple/mj/action/standard/DrawActionType.java:39
MethodgetActionTilesSize
()
src/main/java/com/github/blovemaple/mj/action/standard/BuhuaActionType.java:60
MethodgetAddedTiles
()
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimChanging.java:41
MethodgetAliveTileSize
()
src/main/java/com/github/blovemaple/mj/object/PlayerInfo.java:110
MethodgetAliveTileSize
返回手中的牌数。
src/main/java/com/github/blovemaple/mj/object/PlayerInfoPlayerView.java:19
MethodgetAliveTileSizePrecondition
()
src/main/java/com/github/blovemaple/mj/action/standard/DiscardActionType.java:28
MethodgetAliveTileSizePrecondition
()
src/main/java/com/github/blovemaple/mj/action/standard/BugangActionType.java:34
MethodgetAliveTileSizePrecondition
()
src/main/java/com/github/blovemaple/mj/action/standard/AngangActionType.java:31
MethodgetAllFanTypes
获取此策略支持的所有番种。返回的列表中,被覆盖的番种必须在覆盖它的番种之后。不允许两个番种相互覆盖。
src/main/java/com/github/blovemaple/mj/rule/GameStrategy.java:93
MethodgetAllFanTypes
()
src/main/java/com/github/blovemaple/mj/rule/simple/SimpleGameStrategy.java:35
MethodgetAllStages
()
src/main/java/com/github/blovemaple/mj/rule/simple/SimpleGameStrategy.java:43
MethodgetAllTiles
()
src/main/java/com/github/blovemaple/mj/rule/AbstractGameStrategy.java:49
MethodgetAllWinTypes
()
src/main/java/com/github/blovemaple/mj/rule/simple/SimpleGameStrategy.java:28
MethodgetAutoActionTypes
()
src/main/java/com/github/blovemaple/mj/rule/InitStage.java:29
MethodgetAutoActionTypes
()
src/main/java/com/github/blovemaple/mj/rule/simple/DealingStage.java:31
MethodgetAutoActionTypes
()
src/main/java/com/github/blovemaple/mj/rule/simple/FinishedStage.java:29
MethodgetAutoActionTypes
()
src/main/java/com/github/blovemaple/mj/rule/simple/PlayingStage.java:34
MethodgetAutoActionTypes
()
src/main/java/com/github/blovemaple/mj/rule/simple/BeforePlayingStage.java:32
MethodgetContextView
()
src/main/java/com/github/blovemaple/mj/rule/win/WinInfo.java:86
MethodgetDefaultAction
根据当前状态返回默认动作。默认动作是所有玩家都没有可选动作或均选择不做动作之后自动执行的动作。 @return 默认动作
src/main/java/com/github/blovemaple/mj/rule/GameStrategy.java:74
MethodgetDefaultAction
(GameContext context, Map<PlayerLocation, Set<PlayerActionType>> choises)
src/main/java/com/github/blovemaple/mj/rule/AbstractGameStrategy.java:134
MethodgetDiscardCandidates
(Set<Tile> aliveTiles, Collection<Tile> candidates)
src/main/java/com/github/blovemaple/mj/rule/simple/NormalWinType.java:209
MethodgetDiscardedTiles
()
src/main/java/com/github/blovemaple/mj/object/PlayerInfo.java:115
MethodgetDoneActions
()
src/main/java/com/github/blovemaple/mj/game/GameContextImpl.java:102
MethodgetDoneActions
()
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerViewImpl.java:89
MethodgetDoneActions
返回已经做完的动作。
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerView.java:73
MethodgetDoneActions
()
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimContext.java:112
MethodgetDoneActions
()
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotSimContext.java:250
MethodgetDrawedBottomSize
()
src/main/java/com/github/blovemaple/mj/object/MahjongTable.java:70
MethodgetDrawedBottomSize
()
src/main/java/com/github/blovemaple/mj/object/MahjongTable.java:169
MethodgetFans
检查和牌的所有番种和番数。<br> 默认实现为使用此策略支持的所有番种和番数进行统计。
src/main/java/com/github/blovemaple/mj/rule/GameStrategy.java:99
MethodgetFans
()
src/main/java/com/github/blovemaple/mj/rule/win/WinInfo.java:112
MethodgetFinalAction
(GameContext context)
src/main/java/com/github/blovemaple/mj/rule/InitStage.java:39
MethodgetFinalAction
(GameContext context)
src/main/java/com/github/blovemaple/mj/rule/simple/DealingStage.java:41
MethodgetFinalAction
(GameContext context)
src/main/java/com/github/blovemaple/mj/rule/simple/FinishedStage.java:39
MethodgetFinalAction
(GameContext context)
src/main/java/com/github/blovemaple/mj/rule/simple/PlayingStage.java:46
MethodgetFinalAction
(GameContext context)
src/main/java/com/github/blovemaple/mj/rule/simple/BeforePlayingStage.java:42
MethodgetFirstStage
()
src/main/java/com/github/blovemaple/mj/rule/simple/SimpleGameStrategy.java:48
MethodgetFirstTileType
()
src/main/java/com/github/blovemaple/mj/object/TileUnit.java:49
MethodgetFromRelation
()
src/main/java/com/github/blovemaple/mj/object/TileGroup.java:126
MethodgetGameResult
()
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerViewImpl.java:94
MethodgetGameResult
如果已结束则返回游戏结果,否则返回null。
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerView.java:78
MethodgetGameResult
()
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimContext.java:124
MethodgetGameResult
()
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotSimContext.java:255
MethodgetGameStrategy
()
src/main/java/com/github/blovemaple/mj/game/GameContextImpl.java:48
MethodgetGameStrategy
()
src/main/java/com/github/blovemaple/mj/game/MahjongGame.java:364
MethodgetGameStrategy
()
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerViewImpl.java:36
MethodgetGameStrategy
返回游戏策略。
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerView.java:28
MethodgetGameStrategy
()
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimContext.java:48
MethodgetGotTile
()
src/main/java/com/github/blovemaple/mj/object/TileUnit.java:59
MethodgetGotTile
()
src/main/java/com/github/blovemaple/mj/object/TileGroup.java:131
MethodgetInitBottomSize
()
src/main/java/com/github/blovemaple/mj/object/MahjongTable.java:62
MethodgetInitBottomSize
()
src/main/java/com/github/blovemaple/mj/object/MahjongTable.java:164
MethodgetJustDrawedTile
()
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerViewImpl.java:76
MethodgetLastAction
返回到目前为止做出的最后一个动作。
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerView.java:58
MethodgetLastActionLocation
()
src/main/java/com/github/blovemaple/mj/game/GameContextImpl.java:94
MethodgetLastActionLocation
()
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerViewImpl.java:71
MethodgetLastActionLocation
返回到目前为止做出的最后一个动作的玩家位置。
src/main/java/com/github/blovemaple/mj/game/GameContextPlayerView.java:63
MethodgetLastActionLocation
()
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimContext.java:99
MethodgetLastActionLocation
()
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotSimContext.java:242
MethodgetLastActionPrecondition
()
src/main/java/com/github/blovemaple/mj/action/standard/WinActionType.java:38
← previousnext →401–500 of 695, ranked by callers