Class StoneMountainTile


  • public class StoneMountainTile
    extends Tile
    A StoneMountain is a tile producing nothing. Materials can be mined from it, by three quarries.
    • Constructor Detail

      • StoneMountainTile

        public StoneMountainTile()
        Creates a coordinate less stone mountain tile.
      • StoneMountainTile

        public StoneMountainTile​(CubeCoordinate coord)
        Creates a stone mountain with coordinates.
        Parameters:
        coord - coordinate of the stone mountain
      • StoneMountainTile

        public StoneMountainTile​(CubeCoordinate coord,
                                 org.json.JSONObject data)
        Creates a stone mountain with a coordinate and extra json meta data.
        Parameters:
        coord - coordinate of the tile
        data - extra data
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from class: Tile
        Name of Tile in Api interface.
        Specified by:
        getName in class Tile
        Returns:
        api name of the tile
      • clone

        public Tile clone()
        Description copied from class: Tile
        Creates a clone of the tile.
        Specified by:
        clone in class Tile
        Returns:
        the new tile