Пример #1
0
        private void initializeNoble()
        {
            List <List <int> > intNoble = FileReader.ReadFile(NobleAddress);

            //Creating and setting the nobles
            for (int i = 0; i < intNoble.Count; i++)
            {
                DeckNoble.Add(new Noble(intNoble[i]));
            }

            //Shuffling the nobles
            ShuffleNobles();

            //Turning X nobles for the board
            for (int i = 0; i < NumberOfNoblesShown; i++)
            {
                DisplayNoble.Add(DeckNoble[0]);
                DeckNoble.RemoveAt(0);
            }
        }
Пример #2
0
 public void removeNoble(int index)
 {
     DisplayNoble.RemoveAt(index);
 }