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

Detailed Description

defines a valid range for a layer value
used in BuildingRequirement to check if a building can be built on a point
used by EvolutionStage and RoadStage to check an evolution

Public Member Functions

int GetValue (Vector2Int position)
 
bool CheckValue (int value)
 
bool IsFulfilled (Vector2Int position, ILayerManager layerManager=null)
 

Public Attributes

Layer Layer
 
int MinValue = int.MinValue
 
int MaxValue = int.MaxValue