Record Class TileGroup
java.lang.Object
java.lang.Record
zombie.iso.worldgen.biomes.TileGroup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intsx()Returns the value of thesxrecord component.intsy()Returns the value of thesyrecord component.tiles()Returns the value of thetilesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TileGroup
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
sx
public int sx()Returns the value of thesxrecord component.- Returns:
- the value of the
sxrecord component
-
sy
public int sy()Returns the value of thesyrecord component.- Returns:
- the value of the
syrecord component
-
tiles
-