protected virtual int CalculateCost(ResourceTileLite[] tiles) { //This is the default way. Override to do tweaked calculations return tiles.Length * cost; }