Interface IModifier
An Entity that can modify values on the other Entities, specifically IModifiables. It is generally paired with IUpgradeable in order to ramp up modifiers as level increases. See IModifierDataCollection. See IModifiable. See IModifiableData. See IModifierService.
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IModifier
Properties
canBeApplied
Whether or not this IModifier can be apply it's IModifierData.
Declaration
bool canBeApplied { get; }
Property Value
Type | Description |
---|---|
Boolean |
modifierDataCollection
A collection of IModifierData, where each data represents a different target or way this IModifier will alter values.
Declaration
IModifierDataCollection modifierDataCollection { get; }
Property Value
Type | Description |
---|---|
IModifierDataCollection |
modifierDataIndex
Get the index of the IModifierData.amounts to apply.
Declaration
int modifierDataIndex { get; }
Property Value
Type | Description |
---|---|
Int32 |
modifierId
Generally this is the static data id of this IModifier.
Declaration
string modifierId { get; }
Property Value
Type | Description |
---|---|
String |