示例#1
0
        /// <summary>
        /// Controller's constructor
        /// </summary>
        /// <param name="a_gf">the frame for the game</param>
        public Controller(GameFrame a_gf)
        {
            this.Deck = CardCreator.CreateAllCard();
            this.Deck = CardCreator.ShuffleList(this.Deck);

            this.Stack   = new List <Card>();
            this.Players = new List <Player>();

            this.GF = a_gf;
        }
示例#2
0
 public StartingPage(GameFrame a_gf)
 {
     InitializeComponent();
     gf = a_gf;
 }