Record Class TileReplacementRetValue
java.lang.Object
java.lang.Record
zombie.iso.worldgen.enums.TileReplacementRetValue
-
Constructor Summary
ConstructorsConstructorDescriptionTileReplacementRetValue(TileReplacement retval, IsoSprite placed) Creates an instance of aTileReplacementRetValuerecord 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.placed()Returns the value of theplacedrecord component.retval()Returns the value of theretvalrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TileReplacementRetValue
Creates an instance of aTileReplacementRetValuerecord class.- Parameters:
retval- the value for theretvalrecord componentplaced- the value for theplacedrecord 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). -
retval
Returns the value of theretvalrecord component.- Returns:
- the value of the
retvalrecord component
-
placed
Returns the value of theplacedrecord component.- Returns:
- the value of the
placedrecord component
-