Interface IActivatable
An IActivatable is an IEntity that can be activated, deactivated and reset, such as an ITrack.
Inherited Members
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IActivatable : IEntity, IInjectable
Properties
activatableData
Returns the associated IActivatableData.
Declaration
IActivatableData activatableData { get; }
Property Value
Type | Description |
---|---|
IActivatableData |
isActive
Returns whether this IActivatable is currently active.
Declaration
bool isActive { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Activate()
Activate the IActivatable.
Declaration
void Activate()
Deactivate()
Deactivate the IActivatable.
Declaration
void Deactivate()
Reset()
Reset the IActivatable and clears its progress.
Declaration
void Reset()