Click or drag to resize

Faction Class

Contains agents and determines relationships.
Inheritance Hierarchy
SystemObject
  Mannequin.BindingsFaction

Namespace:  Mannequin.Bindings
Assembly:  Collapse (in Collapse.exe) Version: 0.4.6.1290 (0.4.6.1290)
Syntax
C#
public class Faction

The Faction type exposes the following members.

Constructors
  NameDescription
Public methodFaction
Get a Faction based on its name (i.e. it should have data).
Top
Properties
  NameDescription
Public propertyAgentCount
The number of Agents that are part of this Faction
Public propertyID
The unique ID of this Faction (i.e. player, hostile...)
Public propertyLogo
This faction's logo (as displayed in menus)
Public propertyMoney
The amount of money this Faction has
Public propertyName
The name of this Faction.
Public propertyUnlockedTechs
The Techs this Faction has unlocked
Top
Methods
  NameDescription
Public methodGetRelationshipWith
Get the relationship between this faction and another faction
Public methodLockTech
Lock a Tech
Public methodSetRelationshipWith
Set this faction's relationship with another faction's
Public methodSetType
Set this faction's type. This will reset all of its relationships.
Public methodUnlockTech
Unlock a Tech
Top
See Also