Record Class BookCache.Inputs
java.lang.Object
java.lang.Record
net.ixdarklord.folios.internal.client.screen.BookCache.Inputs
- Enclosing class:
BookCache
-
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.intinput()Returns the value of theinputrecord component.intmouseX()Returns the value of themouseXrecord component.intmouseY()Returns the value of themouseYrecord component.org.joml.Matrix3x2fpose()Returns the value of theposerecord component.spot()Returns the value of thespotrecord component.inttick()Returns the value of thetickrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Inputs
Creates an instance of aInputsrecord class.- Parameters:
mouseX- the value for themouseXrecord componentmouseY- the value for themouseYrecord componentinput- the value for theinputrecord componenttick- the value for thetickrecord componentspot- the value for thespotrecord componentpose- the value for theposerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
mouseX
public int mouseX()Returns the value of themouseXrecord component.- Returns:
- the value of the
mouseXrecord component
-
mouseY
public int mouseY()Returns the value of themouseYrecord component.- Returns:
- the value of the
mouseYrecord component
-
input
public int input()Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
tick
public int tick()Returns the value of thetickrecord component.- Returns:
- the value of the
tickrecord component
-
spot
Returns the value of thespotrecord component.- Returns:
- the value of the
spotrecord component
-
pose
public org.joml.Matrix3x2f pose()Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-