src/jtwod/engine/drawable/Text.java
private void initializeClickableShape()
    {
        this.clickableShape = new Shape<ParentEngine>(
            this.getLayer() + 1,
            this.getParentEngine(),
            this.getParentScene()
        ) {
            @Override
            protected void mouseClicked(int button, Vector location) {
                Text.this.mouseClicked(button, location);
            }

            @Override
            protected void mousePressed(int button, Vector location) {
                Text.this.mousePressed(button, location);
            }

            @Override
            protected void mouseReleased(int button, Vector location) {
                Text.this.mouseReleased(button, location);
            }

            @Override
            protected void mouseEntered() {
                Text.this.mouseEntered();
            }

            @Override
            protected void mouseLeft() {
                Text.this.mouseLeft();
            }
        };
    }
/**
     * Initialize the Clickable hitbox for this Text Object.
     */
Initialize the Clickable hitbox for this Text Object.
Initialize the Clickable hitbox for this Text Object .
private void initializeClickableShape()
    {
        this.clickableShape = new Shape<ParentEngine>(
            this.getLayer() + 1,
            this.getParentEngine(),
            this.getParentScene()
        ) {
            @Override
            protected void mouseClicked(int button, Vector location) {
                Text.this.mouseClicked(button, location);
            }
            @Override
            protected void mousePressed(int button, Vector location) {
                Text.this.mousePressed(button, location);
            }
            @Override
            protected void mouseReleased(int button, Vector location) {
                Text.this.mouseReleased(button, location);
            }
            @Override
            protected void mouseEntered() {
                Text.this.mouseEntered();
            }
            @Override
            protected void mouseLeft() {
                Text.this.mouseLeft();
            }
        };
    }
private void initializeClickableShape ( ) { this . clickableShape = new Shape < ParentEngine > ( this . getLayer ( ) + 1 , this . getParentEngine ( ) , this . getParentScene ( ) ) { @ Override protected void mouseClicked ( int button , Vector location ) { Text . this . mouseClicked ( button , location ) ; } @ Override protected void mousePressed ( int button , Vector location ) { Text . this . mousePressed ( button , location ) ; } @ Override protected void mouseReleased ( int button , Vector location ) { Text . this . mouseReleased ( button , location ) ; } @ Override protected void mouseEntered ( ) { Text . this . mouseEntered ( ) ; } @ Override protected void mouseLeft ( ) { Text . this . mouseLeft ( ) ; } } ; }
Initialize the Clickable hitbox for this Text Object.
Initialize the Clickable hitbox for this Text Object .