public static void Swap(int index1, int index2) { StoredMonster temp = storage[index1]; storage[index1] = storage[index2]; storage[index2] = temp; }
public static void Add(string name, int exp) { StoredMonster sm = new StoredMonster(); sm.monsterName = name; sm.exp = exp; storage.Add(sm); }