Пример #1
0
 static void Init()
 {
     var common = new Common();
     form = new GraphicsEngineForm();
     form.Text = "Pong";
     form.Show();
     graphics = (Graphics)new OpenGLGraphics(form, common);
 }
Пример #2
0
 protected virtual void Init()
 {
     var common = new Common();
     form = new GraphicsEngineForm { Text = name };
     form.Show();
     graphics = new OpenGLGraphics(form, common);
     timer = new Stopwatch();
     timer.Start();
 }