Class AGARules

All Implemented Interfaces:
Cloneable, Component, Serializable
Direct Known Subclasses:

public abstract class AGARules
extends RulesHelper

The class which extends this one will implement the American Go Association rule set.

See Also:
Serialized Form

Field Summary
Fields inherited from class org.moyoman.helper.Helper
Constructor Summary
AGARules(GameId gid, Mode mode, HelperName hname, Component parent)
          Create the AGARules object.
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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public AGARules(GameId gid,
                Mode mode,
                HelperName hname,
                Component parent)
         throws InternalErrorException
Create the AGARules object.

gid - The game id.
mode - The mode for the game.
hname - The name of the helper.
parent - The RulesHelper object.