static void Init() { var common = new Common(); form = new GraphicsEngineForm(); form.Text = "Pong"; form.Show(); graphics = (Graphics)new OpenGLGraphics(form, common); }
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(); }