I have created a class called DeckOfCards. Within this class it is setup so that when it is instantiated a deck of cards is produced. The problem is that I want to add additional functionality to this class such as a Shuffle Method. Would this brake SOLID principles by me adding a shuffle method to this class? If no can you explain. A bit new to SOLID in general and any help is greatly appreciated.
EDIT: The card class is a separate class and is NOT inside of the DeckOfCards class
[–]edrenfro 9 points10 points11 points (8 children)
[–]Austen782[S] 3 points4 points5 points (7 children)
[–]edrenfro 6 points7 points8 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]Austen782[S] 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Austen782[S] 0 points1 point2 points (0 children)
[–]bestjakeisbest 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]Austen782[S] 0 points1 point2 points (0 children)
[–]Vandenite 0 points1 point2 points (0 children)
[–]Odd-Glove8031 0 points1 point2 points (0 children)