megamek.common
Class CalledShot

java.lang.Object
  extended by megamek.common.CalledShot
All Implemented Interfaces:
java.io.Serializable

public class CalledShot
extends java.lang.Object
implements java.io.Serializable

Some static methods for called shots

See Also:
Serialized Form

Field Summary
static int CALLED_HIGH
           
static int CALLED_LEFT
           
static int CALLED_LOW
           
static int CALLED_NONE
           
static int CALLED_NUM
           
static int CALLED_RIGHT
           
 
Constructor Summary
CalledShot()
           
 
Method Summary
 int getCall()
           
 java.lang.String getDisplayableName()
           
 java.lang.String isValid(Targetable target)
           
 void reset()
           
 int switchCalledShot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALLED_NONE

public static final int CALLED_NONE
See Also:
Constant Field Values

CALLED_HIGH

public static final int CALLED_HIGH
See Also:
Constant Field Values

CALLED_LOW

public static final int CALLED_LOW
See Also:
Constant Field Values

CALLED_LEFT

public static final int CALLED_LEFT
See Also:
Constant Field Values

CALLED_RIGHT

public static final int CALLED_RIGHT
See Also:
Constant Field Values

CALLED_NUM

public static final int CALLED_NUM
See Also:
Constant Field Values
Constructor Detail

CalledShot

public CalledShot()
Method Detail

getDisplayableName

public java.lang.String getDisplayableName()

switchCalledShot

public int switchCalledShot()

getCall

public int getCall()

isValid

public java.lang.String isValid(Targetable target)

reset

public void reset()