DdsPlay.Model.Deck.EnableAllCards C# (CSharp) 메소드

EnableAllCards() 공개 메소드

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].
리턴 void
        public void EnableAllCards(bool enable)
        {
            foreach (var t in Cards)
            {
                t.Enabled = enable;
            }
        }