Record Class CallInFromOrbitAction
java.lang.Object
java.lang.Record
idlab.colonyops.model.actions.CallInFromOrbitAction
- Record Components:
command- the orbital call-in command to invoke
- All Implemented Interfaces:
Action
Call in orbital support at (or near) the calling squad member's location. Requires the
corresponding
OrbitalCallInCommand to be unlocked and off cooldown.-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aCallInFromOrbitActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the value of thecommandrecord component.final 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.
-
Constructor Details
-
CallInFromOrbitAction
Creates an instance of aCallInFromOrbitActionrecord class.- Parameters:
command- the value for thecommandrecord 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). -
command
-