megamek.client.bot
Class PhysicalOption
java.lang.Object
megamek.client.bot.PhysicalOption
public class PhysicalOption
- extends java.lang.Object
TODO: add more options, pushing, kick both for quad mechs, etc.
also, what
are the conditions for multiple physical attacks?
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
PUNCH_LEFT
public static final int PUNCH_LEFT
- See Also:
- Constant Field Values
PUNCH_RIGHT
public static final int PUNCH_RIGHT
- See Also:
- Constant Field Values
PUNCH_BOTH
public static final int PUNCH_BOTH
- See Also:
- Constant Field Values
KICK_LEFT
public static final int KICK_LEFT
- See Also:
- Constant Field Values
KICK_RIGHT
public static final int KICK_RIGHT
- See Also:
- Constant Field Values
USE_CLUB
public static final int USE_CLUB
- See Also:
- Constant Field Values
USE_CLAW
public static final int USE_CLAW
- See Also:
- Constant Field Values
PUSH_ATTACK
public static final int PUSH_ATTACK
- See Also:
- Constant Field Values
TRIP_ATTACK
public static final int TRIP_ATTACK
- See Also:
- Constant Field Values
BRUSH_LEFT
public static final int BRUSH_LEFT
- See Also:
- Constant Field Values
BRUSH_RIGHT
public static final int BRUSH_RIGHT
- See Also:
- Constant Field Values
BRUSH_BOTH
public static final int BRUSH_BOTH
- See Also:
- Constant Field Values
THRASH_INF
public static final int THRASH_INF
- See Also:
- Constant Field Values
attacker
Entity attacker
target
Entity target
i_target
INarcPod i_target
expectedDmg
double expectedDmg
type
int type
club
Mounted club
PhysicalOption
public PhysicalOption(Entity attacker)
PhysicalOption
public PhysicalOption(Entity attacker,
Targetable target,
double dmg,
int type,
Mounted club)
toAction
public AbstractAttackAction toAction()
getVector
public java.util.Vector<EntityAction> getVector()