Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            game = new MiniCubeGame();
            game.Run(surface);
        }
Ejemplo n.º 2
0
        static void Main()
        {
            using (var program = new MiniCubeGame())
            {
                var triOrange = new MiniTriRenderer(program)
                {
                    ForegroundColor = Color.Orange
                };
                program.GameSystems.Add(triOrange);

                var multiControlForm = new MultiControlForm();
                multiControlForm.Show();

                var triRed = new MiniTriRenderer(program, multiControlForm.RenderControl1)
                {
                    ForegroundColor = Color.Red
                };
                program.GameSystems.Add(triRed);

                var triGreen = new MiniTriRenderer(program, multiControlForm.RenderControl2)
                {
                    ForegroundColor = Color.Green
                };
                program.GameSystems.Add(triGreen);

                var triBlue = new MiniTriRenderer(program, multiControlForm.RenderControl3)
                {
                    ForegroundColor = Color.Blue
                };
                program.GameSystems.Add(triBlue);

                program.Run();
            }
        }
Ejemplo n.º 3
0
        public MainPage()
        {
            InitializeComponent();

            helloWorldGame = new MiniCubeGame();
            helloWorldGame.Run(DrawingSurface);
        }
Ejemplo n.º 4
0
 static void Main()
 {
     using (var program = new MiniCubeGame())
         program.Run();
 }
Ejemplo n.º 5
0
 public _3DView()
 {
     InitializeComponent();
     game = new MiniCubeGame();
     game.Run(surface);
 }