Esempio n. 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);
 }
Esempio n. 2
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();
 }