Class MoaiTile


  • public class MoaiTile
    extends Tile
    A Moai is a tile producing nothing. This tile can boost all houses. The boost is higher with many different kinds af tiles around the moai.
    • Constructor Detail

      • MoaiTile

        public MoaiTile()
        Creates a coordinate less moai tile.
      • MoaiTile

        public MoaiTile​(CubeCoordinate coord)
        Creates a moai with coordinates.
        Parameters:
        coord - coordinate of the moai
      • MoaiTile

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