Record Class Gesture.QuickMoveIn
java.lang.Object
java.lang.Record
com.ultikits.ultitools.ui.Gesture.QuickMoveIn
- All Implemented Interfaces:
Gesture
- Enclosing interface:
Gesture
-
Nested Class Summary
Nested classes/interfaces inherited from interface Gesture
Gesture.HotbarSwap, Gesture.Pickup, Gesture.Place, Gesture.QuickMoveIn, Gesture.QuickMoveOut, Gesture.Spread, Gesture.SwapWithCursor -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theplayerSlotrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionQuickMoveIn(int playerSlot) Creates an instance of aQuickMoveInrecord 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.intReturns the value of theplayerSlotrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
playerSlot
private final int playerSlotThe field for theplayerSlotrecord component.
-
-
Constructor Details
-
QuickMoveIn
public QuickMoveIn(int playerSlot) Creates an instance of aQuickMoveInrecord class.- Parameters:
playerSlot- the value for theplayerSlotrecord 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. -
playerSlot
public int playerSlot()Returns the value of theplayerSlotrecord component.- Returns:
- the value of the
playerSlotrecord component
-