Record Class WaypointAddedEvent
java.lang.Object
java.lang.Record
meteordevelopment.meteorclient.systems.waypoints.events.WaypointAddedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionWaypointAddedEvent(Waypoint waypoint) Creates an instance of aWaypointAddedEventrecord 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.final StringtoString()Returns a string representation of this record class.waypoint()Returns the value of thewaypointrecord component.
-
Constructor Details
-
WaypointAddedEvent
Creates an instance of aWaypointAddedEventrecord class.- Parameters:
waypoint- the value for thewaypointrecord 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). -
waypoint
Returns the value of thewaypointrecord component.- Returns:
- the value of the
waypointrecord component
-