|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.common.TargetRoll
megamek.common.ToHitData
megamek.client.bot.AttackOption
public class AttackOption
| Nested Class Summary | |
|---|---|
(package private) static class |
AttackOption.Sorter
|
| Field Summary | |
|---|---|
int |
ammoLeft
|
double |
expected
|
int |
heat
|
double |
odds
|
double |
primary_expected
|
double |
primary_odds
|
CEntity |
target
|
ToHitData |
toHit
|
java.lang.String |
use_mode
|
double |
value
|
Mounted |
weapon
|
| Fields inherited from class megamek.common.ToHitData |
|---|
HIT_ABOVE, HIT_BELOW, HIT_KICK, HIT_NORMAL, HIT_PARTIAL_COVER, HIT_PUNCH, HIT_SWARM, HIT_SWARM_CONVENTIONAL, HIT_UNDERWATER, SIDE_FRONT, SIDE_FRONTLEFT, SIDE_FRONTRIGHT, SIDE_LEFT, SIDE_RANDOM, SIDE_REAR, SIDE_REARLEFT, SIDE_REARRIGHT, SIDE_RIGHT |
| Fields inherited from class megamek.common.TargetRoll |
|---|
AUTOMATIC_FAIL, AUTOMATIC_SUCCESS, CHECK_FALSE, IMPOSSIBLE |
| Constructor Summary | |
|---|---|
AttackOption(CEntity target,
Mounted weapon,
double value,
ToHitData toHit,
int sec_mod)
|
|
| Method Summary |
|---|
| Methods inherited from class megamek.common.ToHitData |
|---|
getCover, getHitTable, getMoS, getSideTable, getTableDesc, setCover, setHitTable, setMoS, setSideTable |
| Methods inherited from class megamek.common.TargetRoll |
|---|
addModifier, addModifier, addModifier, append, append, getCumulativePlainDesc, getDesc, getLastPlainDesc, getPlainDesc, getValue, getValueAsString, removeAutos, removeAutos |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public CEntity target
public double value
public Mounted weapon
public ToHitData toHit
public double odds
public double primary_odds
public int heat
public double expected
public double primary_expected
public int ammoLeft
public java.lang.String use_mode
| Constructor Detail |
|---|
public AttackOption(CEntity target,
Mounted weapon,
double value,
ToHitData toHit,
int sec_mod)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||