Class Variant.AcquirableData

java.lang.Object
net.sf.colossus.variant.Variant.AcquirableData
Enclosing class:
Variant

public static class Variant.AcquirableData extends Object
Used internally to record the Acquirable name, points needed for recruiting, and the list of terrains in which the Acquirable dwells.
Author:
Romain Dolbeau
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      String getName()
    • getValue

      int getValue()
    • isAvailable

      boolean isAvailable(MasterBoardTerrain t)
      Tell if the Acquirable can be Acquired in the terrain.
      Parameters:
      t - The terrain in which the Acquirements occurs.
      Returns:
      True if the Acquirable can be acquired here, false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object