Class BeehiveTile


  • public class BeehiveTile
    extends Tile
    A bee hive is a tile producing food. This tile is best with much wheat and forest close to it.
    • Constructor Detail

      • BeehiveTile

        public BeehiveTile()
        Creates a coordinate less bee hive tile.
      • BeehiveTile

        public BeehiveTile​(CubeCoordinate coord)
        Creates a bee hive with coordinates.
        Parameters:
        coord - coordinate of the bee hive
      • BeehiveTile

        public BeehiveTile​(CubeCoordinate coord,
                           org.json.JSONObject data)
        Creates a bee hive 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