public static MonsterSetPiece Instance(string SetPiece, int offsetFix)
 {
     var key = new Tuple<string, int>(SetPiece, offsetFix);
     MonsterSetPiece ret;
     if (!instances.TryGetValue(key, out ret))
         ret = instances[key] = new MonsterSetPiece(SetPiece, offsetFix);
     return ret;
 }
Exemple #2
0
        public static MonsterSetPiece Instance(string SetPiece, int offsetFix)
        {
            var             key = new Tuple <string, int>(SetPiece, offsetFix);
            MonsterSetPiece ret;

            if (!instances.TryGetValue(key, out ret))
            {
                ret = instances[key] = new MonsterSetPiece(SetPiece, offsetFix);
            }
            return(ret);
        }