Class HandicapToken

  • All Implemented Interfaces:
    InfoToken

    public class HandicapToken
    extends NumberToken
    implements InfoToken
    The number of handicap stones given to black. There are certain standard positions for all the handicaps. See http://senseis.xmp.net/?HandicapPlacement
    • Constructor Summary

      Constructors 
      Constructor Description
      HandicapToken()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected float getDefault()
      Presume a default komi of 0.5 points.
      float getHandicap()  
      • Methods inherited from class com.barrybecker4.ca.dj.jigo.sgf.tokens.TextToken

        getText
      • Methods inherited from class com.barrybecker4.ca.dj.jigo.sgf.tokens.SGFToken

        parse
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HandicapToken

        public HandicapToken()
    • Method Detail

      • getDefault

        protected float getDefault()
        Presume a default komi of 0.5 points.
        Specified by:
        getDefault in class NumberToken
      • getHandicap

        public float getHandicap()