Record Class OverlayRenderer.RenderResult
java.lang.Object
java.lang.Record
net.lugo.overlaylib.OverlayRenderer.RenderResult
- Enclosing class:
OverlayRenderer
public static record OverlayRenderer.RenderResult(int consideredSections, int drawnSections, int builtSections, int missingSections)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRenderResult(int consideredSections, int drawnSections, int builtSections, int missingSections) Creates an instance of aRenderResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebuiltSectionsrecord component.intReturns the value of theconsideredSectionsrecord component.intReturns the value of thedrawnSectionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themissingSectionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RenderResult
public RenderResult(int consideredSections, int drawnSections, int builtSections, int missingSections) Creates an instance of aRenderResultrecord class.- Parameters:
consideredSections- the value for theconsideredSectionsrecord componentdrawnSections- the value for thedrawnSectionsrecord componentbuiltSections- the value for thebuiltSectionsrecord componentmissingSections- the value for themissingSectionsrecord 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 with thecomparemethod from their corresponding wrapper classes. -
consideredSections
public int consideredSections()Returns the value of theconsideredSectionsrecord component.- Returns:
- the value of the
consideredSectionsrecord component
-
drawnSections
public int drawnSections()Returns the value of thedrawnSectionsrecord component.- Returns:
- the value of the
drawnSectionsrecord component
-
builtSections
public int builtSections()Returns the value of thebuiltSectionsrecord component.- Returns:
- the value of the
builtSectionsrecord component
-
missingSections
public int missingSections()Returns the value of themissingSectionsrecord component.- Returns:
- the value of the
missingSectionsrecord component
-