Class FlameCost
A Grimmkin Flame cost with options to act cumulatively.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger.Modules
Assembly: ItemChanger.dll
Syntax
public class FlameCost : Cost, IEquatable<Cost>, IEquatable<FlameCost>
Constructors
| Improve this Doc View SourceFlameCost(Int32, Boolean, Boolean)
A Grimmkin Flame cost with options to act cumulatively.
Declaration
public FlameCost(int amount, bool cumulative, bool subtractive)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | amount | The number of flames. |
System.Boolean | cumulative | Should the cost compare against the cumulative flames collected, or the current balance? |
System.Boolean | subtractive | Should paying the cost increment the cumulative flames spent, and decrease the current balance? |
Properties
| Improve this Doc View Sourceamount
Declaration
public int amount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
cumulative
Declaration
public bool cumulative { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
subtractive
Declaration
public bool subtractive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCanPay()
Declaration
public override bool CanPay()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceGetCostText()
Declaration
public override string GetCostText()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceHasPayEffects()
Declaration
public override bool HasPayEffects()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceOnPay()
Declaration
public override void OnPay()
Overrides
Implements
System.IEquatable<T>
System.IEquatable<T>