Class SmallHouseTile


  • public class SmallHouseTile
    extends Tile
    A SmallHouse is a tile producing money.
    • Constructor Detail

      • SmallHouseTile

        public SmallHouseTile()
        Creates a coordinate less small house tile.
      • SmallHouseTile

        public SmallHouseTile​(CubeCoordinate coord)
        Creates a small house with coordinates.
        Parameters:
        coord - coordinate of the house
      • SmallHouseTile

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