Exemple #1
0
 public static void Initialize(         
  IConsole console,
  ISurface surface,
  IStyle style,
  IDrawings drawing,
  IShapes shapes,
  IImages images,
  IControls controls,
  ISounds sounds,         
  IKeyboard keyboard,
  IMouse mouse,
  ITimer timer,
  IFlickr flickr,
  ISpeech speech,
  CancellationToken token)
 {
     TextWindow.Init(console);
      Desktop.Init(surface);
      GraphicsWindow.Init(style, surface, drawing, keyboard, mouse);
      Shapes.Init(shapes);
      ImageList.Init(images);
      Turtle.Init(surface, drawing, shapes);
      Controls.Init(controls);
      Sound.Init(sounds);
      Timer.Init(timer);
      Stack.Init();
      Flickr.Init(flickr);
      Speech.Init(speech);
      Program.Init(token);
 }
Exemple #2
0
 public static void Initialize(
     IConsole console,
     ISurface surface,
     IStyle style,
     IDrawings drawing,
     IShapes shapes,
     IImages images,
     IControls controls,
     ISounds sounds,
     IKeyboard keyboard,
     IMouse mouse,
     ITimer timer,
     IFlickr flickr,
     ISpeech speech,
     CancellationToken token)
 {
     TextWindow.Init(console);
     Desktop.Init(surface);
     GraphicsWindow.Init(style, surface, drawing, keyboard, mouse);
     Shapes.Init(shapes);
     ImageList.Init(images);
     Turtle.Init(surface, drawing, shapes);
     Controls.Init(controls);
     Sound.Init(sounds);
     Timer.Init(timer);
     Stack.Init();
     Flickr.Init(flickr);
     Speech.Init(speech);
     Program.Init(token);
 }
Exemple #3
0
 internal static void Init(IFlickr flickr)
 {
     _flickr = flickr;
 }
Exemple #4
0
 internal static void Init(IFlickr flickr)
 {
     _flickr = flickr;
 }