Пример #1
0
    // Methods ////////////////////////////////////////////////////////////////////////////////////

    public static CardPlaying GetInstance()
    {
        if (StateInstance == null)
        {
            StateInstance = new CardPlaying();
        }
        return(StateInstance);
    }
Пример #2
0
    //---------------------------------------------------------------------------------------------

    public void PlayingCard()
    {
        CurrentState = CardPlaying.GetInstance();
        ShowCardsView(false);
        ShowBoardView(true);
    }