Exemple #1
0
 public WooferRenderingUnit(WooferController controller)
 {
     this.controller          = controller;
     Layers["parallax_back"]  = new BackParallaxRenderingLayer(controller);
     Layers["background"]     = new BackgroundRenderingLayer(controller);
     Layers["level"]          = new LevelRenderingLayer(controller);
     Layers["hud"]            = new HudRenderingLayer(controller);
     Layers["parallax_front"] = new FrontParallaxRenderingLayer(controller);
     Layers["hi_res_overlay"] = new RenderingLayer()
     {
         Name = "hi_res_overlay", Destination = new Rectangle(0, 0, ScreenSize.Width, ScreenSize.Height), LayerSize = ScreenSize
     };
 }
 public WooferRenderingUnit(WooferController controller)
 {
     this.controller      = controller;
     Layers["background"] = new BackgroundRenderingLayer(controller);
     Layers["level"]      = new LevelRenderingLayer(controller);
 }