megamek.common.actions
Class FindClubAction

java.lang.Object
  extended by megamek.common.actions.AbstractEntityAction
      extended by megamek.common.actions.FindClubAction
All Implemented Interfaces:
java.io.Serializable, EntityAction

public class FindClubAction
extends AbstractEntityAction

The entity tries to find a club.

Version:
Author:
Ben
See Also:
Serialized Form

Constructor Summary
FindClubAction(int entityId)
          Creates new FindClubAction
 
Method Summary
static boolean canMechFindClub(IGame game, int entityId)
          Returns whether an entity can find a club in its current location
 
Methods inherited from class megamek.common.actions.AbstractEntityAction
getEntityId, setEntityId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindClubAction

public FindClubAction(int entityId)
Creates new FindClubAction

Method Detail

canMechFindClub

public static boolean canMechFindClub(IGame game,
                                      int entityId)
Returns whether an entity can find a club in its current location