Package com.fs.starfarer.api.combat
Interface BattleObjectiveAPI
- All Superinterfaces:
AssignmentTargetAPI
,CombatEntityAPI
- Author:
- Alex Mosolov Copyright 2012 Fractal Softworks, LLC
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from interface com.fs.starfarer.api.combat.AssignmentTargetAPI
getVelocity
Methods inherited from interface com.fs.starfarer.api.combat.CombatEntityAPI
getAI, getAngularVelocity, getCollisionClass, getCollisionRadius, getCustomData, getExactBounds, getFacing, getHitpoints, getHullLevel, getMass, getMaxHitpoints, getShield, getVelocity, isExpired, isPointInBounds, removeCustomData, setAngularVelocity, setCollisionClass, setCollisionRadius, setCustomData, setFacing, setHitpoints, setMass, setOwner, wasRemoved
-
Method Details
-
getLocation
org.lwjgl.util.vector.Vector2f getLocation()- Specified by:
getLocation
in interfaceAssignmentTargetAPI
- Specified by:
getLocation
in interfaceCombatEntityAPI
-
getOwner
int getOwner()Description copied from interface:CombatEntityAPI
0 = player 1 = enemy 100 = neutral (used for ship hulks)- Specified by:
getOwner
in interfaceAssignmentTargetAPI
- Specified by:
getOwner
in interfaceCombatEntityAPI
- Returns:
- 0 for player, 1 for enemy, 100 for neutral.
-
getType
String getType() -
getImportance
BattleObjectiveAPI.Importance getImportance() -
getDisplayName
String getDisplayName() -
getSprite
SpriteAPI getSprite() -
setSprite
-
getBattleSizeFractionBonus
float getBattleSizeFractionBonus()
-