Class CivicCondition
Inheritance
System.Object
CivicCondition
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class CivicCondition : CivicConditionBase, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IDescribable, ICustomValidity, IValidity
Constructors
CivicCondition()
Declaration
Properties
AllTypes
Declaration
public override IEnumerable<Type> AllTypes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
Overrides
ChangingCivicObjects
Declaration
public GamePickerList<IProposable> ChangingCivicObjects { get; set; }
Property Value
Declaration
public GamePickerList<CivicAction> PerformingCivicActions { get; set; }
Property Value
Methods
AppliesTo(CivicAction)
Returns true if this civic condition matches the given action (either because it applies to the type of civic action, or its acting on a container of the given type of civic types.)
Declaration
public override bool AppliesTo(CivicAction action)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
AppliesTo(Type)
Returns true if this civic condition matches the given action (either because it applies to the type of civic action, or its acting on a container of the given type of civic types.)
Declaration
public override bool AppliesTo(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Description()
Declaration
public override LocString Description()
Returns
Overrides
Valid()
Declaration
Returns
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods