Beispiel #1
0
        public static void Create(Grid layoutRoot)
        {
            Current            = new GamePanel();
            Current.LayoutRoot = layoutRoot;
            layoutRoot.Children.Add(Current);

            Block.Size          = Convert.ToInt32((Database.Current.ScreenWidth - 7 * 4) / 6);
            Current.RowCount    = Convert.ToInt32(Database.Current.ScreenHeight / Block.Size) - 1;
            Current.ColumnCount = 6;

            ScoreboardDialog.Create();
            OptionsDialog.Create();
            AboutDialog.Create();
        }