SpaceRTS - Starter Pack  1.3
NullPointerGame.ResourceSystem Namespace Reference

Classes

class  PlayerStorageSetter
 Manipulates the storage properties in the player according with a list of action entries. In each entry we can find an action to do to a specific resource type by a specific amount. Every action entry will be applied in the Start() and removed in the OnDestroy(). The most common use will be store a certain resource amount on the entity creation, resource amount that must be removed on the OnDestroy(). More...
 
class  ResourceCarrier
 Treats the game entity as a mobile resource storage capable of loading and unloading resources from different warehouses. A Parkable component will be required attached along with this component to handle the parking traffic control and a StorageContainer where to store the loaded or unloaded resource quantities. More...
 
class  ResourceCollector
 Automatic resource collector. Requires a StorageContainer where to store the collected quantities. More...
 
class  ResourceID
 Resource id type to be used by the entire resource system. More...
 
class  ResourcesMask
 Mask to be used as filter to define a list of allowed reesources. More...
 
class  ResourceSystem
 Manager system that defines the list of the resources that the scene will have. More...
 
class  ResourceWarehouse
 Acts as resource port or bay transportation ready controller. Has a direct connection to a ResourceContainer that can be defined locally or in the player game object. Must be defined the valid operations that can be done in this entity (which resources are available to be extracted and which ones are available to be inserted). A parking system must be defined to control the insertion/extraction traffic. More...
 
class  StorageContainer
 Container for a collection of resource storages. More...
 
class  StorageController
 Base class for ResourceCollector and ResourceWarehouse More...