org.moyoman.helper.board.rules.agarules
Class AGARules
java.lang.Object
|
+--org.moyoman.helper.Helper
|
+--org.moyoman.helper.board.rules.RulesHelper
|
+--org.moyoman.helper.board.rules.agarules.AGARules
- All Implemented Interfaces:
- Cloneable, Component, Serializable
- Direct Known Subclasses:
- AGARulesImpl
- public abstract class AGARules
- extends RulesHelper
The class which extends this one will implement the
American Go Association rule set.
- See Also:
- Serialized Form
Fields inherited from class org.moyoman.helper.Helper |
|
Methods inherited from class org.moyoman.helper.board.rules.RulesHelper |
doCountPointsInSeki, findPrisoners, freePlacementOfHandicapStones, getKo, getKomi, getLegalityStatus, getRules, getSuicide, getSuperKo, isBentFourDeadByRule, isLegalMove, isSuicideAllowed, isTerritoryScoring, makeMove, mustWhiteMoveLast, numberOfPassesToEndGame, superKoRule |
Methods inherited from class org.moyoman.helper.Helper |
checkTime, clone, create, createHelper, debug, error, error, fatal, fatal, getAllHelpers, getDebugInformation, getDebugTypes, getHelper, getHelperName, getId, getMode, getModule, getParent, getRequiredModuleList, getScheduler, information, setTime, warning, warning |
AGARules
public AGARules(GameId gid,
Mode mode,
HelperName hname,
Component parent)
throws InternalErrorException
- Create the AGARules object.
- Parameters:
gid
- The game id.mode
- The mode for the game.hname
- The name of the helper.parent
- The RulesHelper object.