if (cl==null){
throw new NullPointerException("Client instance may not be null");
}
Rectangle rectangle = new Rectangle(rect.x+BORDER_SPACING, rect.y+HORIZONTAL_DECO_HEIGHT, LEFT_STATUS_PANEL_WIDTH, TOP_STATUS_HEIGHT-HORIZONTAL_DECO_HEIGHT);
DisplayImageDIResolver resolver = DisplayImageDIResolver.getInstance();
loader = resolver.getMainScreenLoader(); // loader from the txt file
background = createBackground(resolver);
gameStatus = new GameStatus(rectangle,cl);
gameStatus.setEnabled(true);
rectangle = new Rectangle(rect.x+LEFT_PANEL_WIDTH, rect.y+HORIZONTAL_DECO_HEIGHT, rect.width-(LEFT_PANEL_WIDTH+BORDER_SPACING), TOP_STATUS_HEIGHT-HORIZONTAL_DECO_HEIGHT);