public interface BattleObjectiveAPI extends CombatEntityAPI, AssignmentTargetAPI
Modifier and Type | Interface and Description |
---|---|
static class |
BattleObjectiveAPI.Importance |
Modifier and Type | Method and Description |
---|---|
float |
getBattleSizeFractionBonus() |
java.lang.String |
getDisplayName() |
BattleObjectiveAPI.Importance |
getImportance() |
Vector2f |
getLocation() |
int |
getOwner()
0 = player
1 = enemy
100 = neutral (used for ship hulks)
|
SpriteAPI |
getSprite() |
java.lang.String |
getType() |
void |
setSprite(SpriteAPI sprite) |
getAI, getAngularVelocity, getCollisionClass, getCollisionRadius, getCustomData, getExactBounds, getFacing, getHitpoints, getHullLevel, getMass, getMaxHitpoints, getShield, getVelocity, isExpired, removeCustomData, setAngularVelocity, setCollisionClass, setCollisionRadius, setCustomData, setFacing, setHitpoints, setMass, setOwner
getVelocity
Vector2f getLocation()
getLocation
in interface AssignmentTargetAPI
getLocation
in interface CombatEntityAPI
int getOwner()
CombatEntityAPI
getOwner
in interface AssignmentTargetAPI
getOwner
in interface CombatEntityAPI
java.lang.String getType()
BattleObjectiveAPI.Importance getImportance()
java.lang.String getDisplayName()
SpriteAPI getSprite()
void setSprite(SpriteAPI sprite)
float getBattleSizeFractionBonus()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.