Interface ITrigger
A condition for an IPromo to be triggered by.
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public interface ITrigger : IEntity, IInjectable
Properties
TriggerData
The IEntityData associated with this IPromo.
Declaration
ITriggerData TriggerData { get; }
Property Value
Type | Description |
---|---|
ITriggerData |
Methods
Activate()
Activates the associated ITrigger.
Declaration
void Activate()
AreConditionsMet()
Whether or not the associated ITrigger's conditions are met.
Declaration
bool AreConditionsMet()
Returns
Type | Description |
---|---|
Boolean |
Deactivate()
Deactivates the associated IPromo.
Declaration
void Deactivate()