SunsetHigh.Hero.DialoguePanel.DialoguePanel C# (CSharp) Method

DialoguePanel() public method

public DialoguePanel ( ) : System
return System
            public DialoguePanel()
                : base(DIALOGUE_X, DIALOGUE_Y, DIALOGUE_WIDTH, DIALOGUE_HEIGHT)
            {
                this.setVisible(true);
                this.setPopLocations(DIALOGUE_X, DIALOGUE_Y, DIALOGUE_X, DIALOGUE_Y);
                this.popIn();
                this.setHighlighted(true);

                this.cursorArrow = new CursorArrow(DIALOGUE_X, DIALOGUE_Y + RESPONSE_START_Y, 20, 20, this);
                this.cursorArrow.setPopLocations(DIALOGUE_X, DIALOGUE_Y + RESPONSE_START_Y,
                    DIALOGUE_X, DIALOGUE_Y + RESPONSE_START_Y);
                this.cursorArrow.popIn();

                this.setXMargin(DIALOGUE_X_MARGIN);
                this.setYMargin(DIALOGUE_Y_MARGIN);
                this.setScrolling(NUM_RESPONSES_ON_PANEL, 1, this.getXMargin(), this.getWidth() - this.getXMargin(), RESPONSE_START_Y);
                scrollBar.setInitParameters(RESPONSE_START_Y, this.getHeight() - RESPONSE_START_Y - this.getYMargin());
            }