Loading...
Searching...
No Matches
CityBuilderCore.ItemCategoryRecipient Class Reference

Detailed Description

receives any item of a specified category and uses it up over time
items are used in the order that they have in the category

Classes

class  ItemsCategoryRecipientData
 

Public Member Functions

void Update (float multiplier)
 
void Fill (ItemStorage storage)
 
void Modify (Item item, int quantity)
 
ItemsCategoryRecipientData SaveData ()
 
void LoadData (ItemsCategoryRecipientData data)
 

Public Attributes

ItemCategory ItemCategory
 
ItemStorage Storage
 
float ConsumptionInterval
 

Properties

bool HasAccess [get]
 

Events

Action Changed
 
Action Gained
 
Action Lost