public void AddDefPosition(SlotIndex position) { if (!defPositions.ContainsKey(position)) { defPositions.Add(position, position); } }