Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        public MyGameArea()
            : base()
        {
            for (int i = 0; i < 200; i++)
            {
                AddObject(new BouncingSquare());
            }
            Size = new Size(800, 600);

            bs = new BlueSquare();
            AddObject(bs);
        }
Beispiel #2
0
        /// <summary>
        /// 
        /// </summary>
        public MyGameArea()
            : base()
        {
            for (int i = 0; i < 200; i++)
            {
                AddObject(new BouncingSquare());
            }
            Size = new Size(800, 600);

            bs = new BlueSquare();
            AddObject(bs);
        }