Interface ITimedActivatable
A controller that has timer functionality to activate and deactivate an IActivatable.
Inherited Members
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public interface ITimedActivatable : IActivatable, IEntity, IInjectable, ITimerListener
Properties
Activatable
Returns the component IActivatable, which should be unique and only initialized by this ITimedActivatable to avoid changes to its saved data by another entity.
Declaration
IActivatable Activatable { get; }
Property Value
| Type | Description |
|---|---|
| IActivatable |
TimedActivatableData
Returns the ITimedActivatableData associated with this ITimedActivatable.
Declaration
ITimedActivatableData TimedActivatableData { get; }
Property Value
| Type | Description |
|---|---|
| ITimedActivatableData |
TimedActivatableSavedData
Returns the ITimedActivatableSavedData associated with this ITimedActivatable.
Declaration
ITimedActivatableSavedData TimedActivatableSavedData { get; }
Property Value
| Type | Description |
|---|---|
| ITimedActivatableSavedData |
TimeRemaining
Returns the time remaining in milliseconds.
Declaration
long TimeRemaining { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |