Class StoneQuarryTile


  • public class StoneQuarryTile
    extends Tile
    A StoneQuarry is a tile producing materials. It mines material from other stoney tiles. It can be mine more on larger stoney tiles.
    • Constructor Detail

      • StoneQuarryTile

        public StoneQuarryTile()
        Creates a coordinate less stone quarry tile.
      • StoneQuarryTile

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

        public StoneQuarryTile​(CubeCoordinate coord,
                               org.json.JSONObject data)
        Creates a stone quarry 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