Record Class TileLookupRetValue
java.lang.Object
java.lang.Record
zombie.iso.worldgen.enums.TileLookupRetValue
-
Constructor Summary
ConstructorsConstructorDescriptionTileLookupRetValue(TileLookup tileLookup, String tile) Creates an instance of aTileLookupRetValuerecord class. -
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.tile()Returns the value of thetilerecord component.Returns the value of thetileLookuprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TileLookupRetValue
Creates an instance of aTileLookupRetValuerecord class.- Parameters:
tileLookup- the value for thetileLookuprecord componenttile- the value for thetilerecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
tileLookup
Returns the value of thetileLookuprecord component.- Returns:
- the value of the
tileLookuprecord component
-
tile
Returns the value of thetilerecord component.- Returns:
- the value of the
tilerecord component
-