Record Class OrbitStrikeRangeBonus
java.lang.Object
java.lang.Record
idlab.colonyops.model.techtree.OrbitStrikeRangeBonus
- Record Components:
bonus- additional blast radius, in tiles
- All Implemented Interfaces:
TechEffect
Increases the area of effect of the
OrbitalCallInCommand.PERFORM_ION_STRIKE call-in.-
Constructor Summary
ConstructorsConstructorDescriptionOrbitStrikeRangeBonus(int bonus) Creates an instance of aOrbitStrikeRangeBonusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintbonus()Returns the value of thebonusrecord 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
-
OrbitStrikeRangeBonus
public OrbitStrikeRangeBonus(int bonus) Creates an instance of aOrbitStrikeRangeBonusrecord class.- Parameters:
bonus- the value for thebonusrecord 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. -
bonus
-