public static CheckRegion Instance(TileRegion region)
 {
     CheckRegion ret;
     if (!instances.TryGetValue(region, out ret))
         ret = instances[region] = new CheckRegion(region);
     return ret;
 }
        public static CheckRegion Instance(TileRegion region)
        {
            CheckRegion ret;

            if (!instances.TryGetValue(region, out ret))
            {
                ret = instances[region] = new CheckRegion(region);
            }
            return(ret);
        }