Class SmallHouseTile
- java.lang.Object
-
- page.codeberg.terratactician_expandoria.world.tiles.Tile
-
- page.codeberg.terratactician_expandoria.world.tiles.SmallHouseTile
-
public class SmallHouseTile extends Tile
A SmallHouse is a tile producing money.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class page.codeberg.terratactician_expandoria.world.tiles.Tile
Tile.TileType
-
-
Field Summary
-
Fields inherited from class page.codeberg.terratactician_expandoria.world.tiles.Tile
coord, reclaimTime
-
-
Constructor Summary
Constructors Constructor Description SmallHouseTile()
Creates a coordinate less small house tile.SmallHouseTile(CubeCoordinate coord)
Creates a small house with coordinates.SmallHouseTile(CubeCoordinate coord, org.json.JSONObject data)
Creates a small house with a coordinate and extra json meta data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tile
clone()
Creates a clone of the tile.java.lang.String
getName()
Name of Tile in Api interface.-
Methods inherited from class page.codeberg.terratactician_expandoria.world.tiles.Tile
dataToString, deserialize, deserialize, getCoordinate, reclaimable, serialize, serializeData, takeable, toString
-
-
-
-
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 tiledata
- extra data
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:Tile
Name of Tile in Api interface.
-
-