Example #1
0
 public Client(Renderer renderer, int windowWidth, int windowHeight)
 {
     this.renderer = renderer;
     this.renderHandler = new RenderHandler(renderer, windowWidth, windowHeight);
     this.lifeSpanHandler = new LifeSpanHandler(renderer);
     this.loadHandler = new LoadHandler(renderer);
     this.displayHandler = new DisplayHandler(renderer);
     this.menuHandler = new MenuHandler();
 }
Example #2
0
 public RenderHandler(Renderer renderer, int windowWidth, int windowHeight)
 {
     this.renderer = renderer;
     this.Width = windowWidth;
     this.Height = windowHeight;
 }
Example #3
0
 public DisplayHandler(Renderer renderer)
 {
     this.renderer = renderer;
 }
Example #4
0
 public LoadHandler(Renderer renderer)
 {
     this.renderer = renderer;
 }
Example #5
0
 public LifeSpanHandler(Renderer renderer)
 {
     this.renderer = renderer;
 }