LazyLib

org.lazywizard.lazylib.campaign
Class FleetUtils

java.lang.Object
  extended by org.lazywizard.lazylib.campaign.FleetUtils

public class FleetUtils
extends java.lang.Object

Contains methods for working with fleets and fleet data.

Author:
LazyWizard

Method Summary
static boolean isPlayer(com.fs.starfarer.api.campaign.CampaignFleetAPI fleet)
          Checks if a fleet is the player fleet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isPlayer

public static boolean isPlayer(com.fs.starfarer.api.campaign.CampaignFleetAPI fleet)
Checks if a fleet is the player fleet.

Parameters:
fleet - The CampaignFleetAPI to be checked.
Returns:
true if fleet is the player fleet, false otherwise.

LazyLib