public class GateCMD extends BaseCommandPlugin
Modifier and Type | Field and Description |
---|---|
protected InteractionDialogAPI |
dialog |
protected SectorEntityToken |
entity |
protected MemoryAPI |
memory |
protected java.util.Map<java.lang.String,MemoryAPI> |
memoryMap |
protected OptionPanelAPI |
options |
protected CargoAPI |
playerCargo |
protected CampaignFleetAPI |
playerFleet |
protected TextPanelAPI |
text |
Constructor and Description |
---|
GateCMD() |
Modifier and Type | Method and Description |
---|---|
static int |
computeFuelCost(SectorEntityToken targetGate) |
boolean |
execute(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
static void |
explode(SectorEntityToken gate) |
static boolean |
isPopulated(SectorEntityToken targetGate) |
static void |
notifyScanned(SectorEntityToken gate) |
protected void |
selectDestination() |
doesCommandAddOptions, getEntityMemory, getOptionOrder
protected CampaignFleetAPI playerFleet
protected SectorEntityToken entity
protected TextPanelAPI text
protected OptionPanelAPI options
protected CargoAPI playerCargo
protected MemoryAPI memory
protected InteractionDialogAPI dialog
protected java.util.Map<java.lang.String,MemoryAPI> memoryMap
public boolean execute(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
public static boolean isPopulated(SectorEntityToken targetGate)
public static int computeFuelCost(SectorEntityToken targetGate)
protected void selectDestination()
public static void notifyScanned(SectorEntityToken gate)
public static void explode(SectorEntityToken gate)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.