Interface IBaseCollectorEntitySavedData
The ISavedData associated with a given IBaseCollectorEntity.
Inherited Members
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IBaseCollectorEntitySavedData : ISavedData, IInjectable
Properties
isPurchased
Returns if the IBaseCollectorEntity has been purchased Buy().
Declaration
bool isPurchased { get; }
Property Value
Type | Description |
---|---|
Boolean |
timeStarted
Returns the start time for the production in milliseconds.
Declaration
long timeStarted { get; }
Property Value
Type | Description |
---|---|
Int64 |
Methods
BeginProduction(Int64)
Set the timestamp for the start of production.
Declaration
void BeginProduction(long timestamp)
Parameters
Type | Name | Description |
---|---|---|
Int64 | timestamp |
Buy()
Purchased the IBaseCollectorEntity, this will set the isPurchased to true.
Declaration
void Buy()