DdsPlay.Model.Deck.EnableAllCards C# (CSharp) Method

EnableAllCards() public method

Method to set the value of Enabled to the provided value on all of the cards in the deck.
public EnableAllCards ( bool enable ) : void
enable bool if set to true [enable].
return void
        public void EnableAllCards(bool enable)
        {
            foreach (var t in Cards)
            {
                t.Enabled = enable;
            }
        }