Class CampaignEventTarget
java.lang.Object
com.fs.starfarer.api.campaign.events.CampaignEventTarget
-
Constructor Summary
ConstructorsConstructorDescriptionCampaignEventTarget
(MarketAPI market) CampaignEventTarget
(LocationAPI location) CampaignEventTarget
(SectorEntityToken entity) CampaignEventTarget
(Object custom) custom *must* implement hashCode() and equals(). -
Method Summary
Modifier and TypeMethodDescriptionboolean
getExtra()
org.lwjgl.util.vector.Vector2f
int
hashCode()
void
void
setEntity
(SectorEntityToken entity) void
void
setLocation
(LocationAPI location)
-
Constructor Details
-
CampaignEventTarget
custom *must* implement hashCode() and equals(). If two event targets have custom1.equals(custom2), then the event target is considered to be equal regardless of other data member values.- Parameters:
custom
-
-
CampaignEventTarget
-
CampaignEventTarget
-
CampaignEventTarget
-
-
Method Details