megamek.client.ui
Class SharedUtility

java.lang.Object
  extended by megamek.client.ui.SharedUtility

public class SharedUtility
extends java.lang.Object


Constructor Summary
SharedUtility()
           
 
Method Summary
static java.lang.String doPSRCheck(MovePath md)
           
static java.lang.String doThrustCheck(MovePath md, Client client)
          Checks to see if piloting skill rolls are needed for excessive use of thrust.
static java.lang.String[] getDisplayArray(java.util.List<? extends Targetable> entities)
           
static java.util.List<TargetRoll> getPSRList(MovePath md)
           
static Targetable getTargetPicked(java.util.List<? extends Targetable> targets, java.lang.String input)
           
static MovePath moveAero(MovePath md, Client client)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedUtility

public SharedUtility()
Method Detail

doPSRCheck

public static java.lang.String doPSRCheck(MovePath md)

getPSRList

public static java.util.List<TargetRoll> getPSRList(MovePath md)

doThrustCheck

public static java.lang.String doThrustCheck(MovePath md,
                                             Client client)
Checks to see if piloting skill rolls are needed for excessive use of thrust.


moveAero

public static MovePath moveAero(MovePath md,
                                Client client)

getDisplayArray

public static java.lang.String[] getDisplayArray(java.util.List<? extends Targetable> entities)

getTargetPicked

public static Targetable getTargetPicked(java.util.List<? extends Targetable> targets,
                                         java.lang.String input)