示例#1
0
    public Wood_Storage_Structure(string name)
    {
        _buildingType bType = _buildingType.Storage;

        _currentWood   = 0;
        _structureName = name;
    }
示例#2
0
    public Wood_Resource_Structure(string name)
    {
        _structureName = name;
        _buildingType bType = _buildingType.Resource;

        resourceInterval = 1.0f;
        currentCapacity  = 0;
    }
示例#3
0
    public Wood_Production_Structure(string name)
    {
        _structureName = name;
        _buildingType bType = _buildingType.Production;

        _currentWoodPlankCount = 0;
        _currentResourceCount  = 0;
        _productionInterval    = 2.5f;
        isManufactoring        = false;
    }