Beyond_Beyaan.Screens.SituationReport.SituationReport C# (CSharp) Метод

SituationReport() публичный Метод

public SituationReport ( GameMain gameMain )
gameMain GameMain
        public SituationReport(GameMain gameMain)
        {
            this.gameMain = gameMain;

            /*int x = (gameMain.ScreenWidth / 2) - 400;
            int y = (gameMain.ScreenHeight / 2) - 300;

            buttons = new Button[AMOUNT_VISIBLE];
            for (int i = 0; i < buttons.Length; i++)
            {
                buttons[i] = new Button(SpriteName.NormalBackgroundButton, SpriteName.NormalForegroundButton, string.Empty, x + 5, y + 35 + (i * 40), 775, 40);
            }
            scrollBar = new ScrollBar(x + 780, y + 25, 16, 574, AMOUNT_VISIBLE, AMOUNT_VISIBLE, false, false, SpriteName.ScrollUpBackgroundButton, SpriteName.ScrollUpForegroundButton,
                SpriteName.ScrollDownBackgroundButton, SpriteName.ScrollDownForegroundButton, SpriteName.ScrollVerticalBackgroundButton, SpriteName.ScrollVerticalForegroundButton,
                SpriteName.ScrollVerticalBar, SpriteName.ScrollVerticalBar);
            topIndex = 0;
            isVisible = false;
            title = new Label("Situation Report", x + 5, y + 5);*/
        }