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

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

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.