private void generateDeck()
    {
        Suit[] suits = Suit.values();
        Figure[] figures = Figure.values();


        for(Suit suit : suits)
        {
            for(Figure figure : figures)
            {
                cards.add(new Card(figure,suit));
            }
        }

    }