A* Pathfinding Project  4.3.5
The A* Pathfinding Project for Unity 3D
RTSPlayerResources Class Reference

Public Member Functions

void AddResource (RTSUnit.Type type, int amount)
 
int GetResource (RTSUnit.Type type)
 

Private Attributes

Dictionary< RTSUnit.Type, int > resources = new Dictionary<RTSUnit.Type, int>()
 

Member Function Documentation

◆ AddResource()

void AddResource ( RTSUnit.Type  type,
int  amount 
)

◆ GetResource()

int GetResource ( RTSUnit.Type  type)

Member Data Documentation

◆ resources

Dictionary<RTSUnit.Type, int> resources = new Dictionary<RTSUnit.Type, int>()
private

The documentation for this class was generated from the following file: