IResourceProvider
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.
Declaration
Summary
Interface for providing resource information.
Metadata
Namespace: GridPlacement.Core.Data.Placement
Source File: cs/Core/Data/Placement/PlacementData.cs
Assembly: GridPlacement.Core
Type: interface
Methods
HasGold
Returns whether the provider has at least the specified amount of gold.
Parameters
| Name | Description |
|---|---|
amount | Required amount. |
Returns
true if available; otherwise false.
HasWood
Returns whether the provider has at least the specified amount of wood.
Parameters
| Name | Description |
|---|---|
amount | Required amount. |
Returns
true if available; otherwise false.
HasStone
Returns whether the provider has at least the specified amount of stone.
Parameters
| Name | Description |
|---|---|
amount | Required amount. |
Returns
true if available; otherwise false.
HasFood
Returns whether the provider has at least the specified amount of food.
Parameters
| Name | Description |
|---|---|
amount | Required amount. |
Returns
true if available; otherwise false.
HasCustomResource
Returns whether the provider has at least the specified amount of a custom resource.
Parameters
| Name | Description |
|---|---|
resourceName | The custom resource name. |
amount | Required amount. |
Returns
true if available; otherwise false.