Package megamek.common.universe
Enum Class FactionTag
- All Implemented Interfaces:
Serializable
,Comparable<FactionTag>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFaction represents empty spaceRepresents an aggregate of independent 'factions', rather than a singular organization.Faction performs batchallFaction represents a lack of unified governmentFaction is controlling with mercenary command rights (Camops p.Faction is an independent corporation (Camops p.Faction is campaign-specific, generated on the flyFaction is generous and tends to pay more for contracts (Camops p.Faction is hidden from viewFaction isn't overtly acting on the political/military scale; think ComStar before clan invasionInner sphereFaction is lenient with mercenary command rights (Camops p.Major Power: e.g.Major mercenary bandsFaction is limited to a single star system, or potentially just a part of a planet (CamOps p12)Faction is an independent noble (Camops p.A bunch of dirty piratesFaction is an independent planetary government (Camops p.Faction is meant to be playedFaction is rebelling against the superior ("parent") factionIndependent world or Small State (CamOps p12)Faction code is not intended to be for playersFaction is stingy and tends to pay less for contracts (Camops p.Super Power: the Terran Hegemony, the First Star League, and the Federated Commonwealth.Major trading company -
Method Summary
Modifier and TypeMethodDescriptionstatic FactionTag
Returns the enum constant of this class with the specified name.static FactionTag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IS
Inner sphere -
PERIPHERY
-
DEEP_PERIPHERY
-
CLAN
-
PIRATE
A bunch of dirty pirates -
MERC
Major mercenary bands -
TRADER
Major trading company -
SUPER
Super Power: the Terran Hegemony, the First Star League, and the Federated Commonwealth. (CamOps p12) -
MAJOR
Major Power: e.g. Inner Sphere Great Houses, Republic of the Sphere, Terran Alliance, Second Star League, Inner Sphere Clans. (CamOps p12) -
MINOR
Faction is limited to a single star system, or potentially just a part of a planet (CamOps p12) -
SMALL
Independent world or Small State (CamOps p12) -
REBEL
Faction is rebelling against the superior ("parent") faction -
INACTIVE
Faction isn't overtly acting on the political/military scale; think ComStar before clan invasion -
ABANDONED
Faction represents empty space -
CHAOS
Faction represents a lack of unified government -
GENERATED
Faction is campaign-specific, generated on the fly -
HIDDEN
Faction is hidden from view -
SPECIAL
Faction code is not intended to be for players -
PLAYABLE
Faction is meant to be played -
NOBLE
Faction is an independent noble (Camops p. 39) -
PLANETARY_GOVERNMENT
Faction is an independent planetary government (Camops p. 39) -
CORPORATION
Faction is an independent corporation (Camops p. 39) -
STINGY
Faction is stingy and tends to pay less for contracts (Camops p. 42) -
GENEROUS
Faction is generous and tends to pay more for contracts (Camops p. 42) -
CONTROLLING
Faction is controlling with mercenary command rights (Camops p. 42) -
LENIENT
Faction is lenient with mercenary command rights (Camops p. 42) -
BATCHALL
Faction performs batchall -
AGGREGATE
Represents an aggregate of independent 'factions', rather than a singular organization. For example, "PIR" (pirates) is used to abstractly represent all pirates, not individual pirate groups.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-