Class SpeciesToken

    • Constructor Summary

      Constructors 
      Constructor Description
      SpeciesToken()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected float getDefault()
      Presume a default species of 0 (human).
      int getSpecies()
      Returns zero if a human is playing, or greater than one for a computer.
      java.lang.String toString()  
      • 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, wait, wait, wait
    • Constructor Detail

      • SpeciesToken

        public SpeciesToken()
    • Method Detail

      • getDefault

        protected float getDefault()
        Presume a default species of 0 (human).
        Specified by:
        getDefault in class NumberToken
      • getSpecies

        public int getSpecies()
        Returns zero if a human is playing, or greater than one for a computer.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object