@Override
    public void actOnInput(int key) {
        switch (key) {
            // Size 2 palace
            case 1:
                this.activate(new AddPalaceController(2, this.game, this.view, this.gameController));
                break;
            // Size 4 palace
            case 2:
                this.activate(new AddPalaceController(4, this.game, this.view, this.gameController));
                break;
            // Size 6 palace
            case 3:
                this.activate(new AddPalaceController(6, this.game, this.view, this.gameController));
                break;
            // Size 8 palace
            case 4:
                this.activate(new AddPalaceController(8, this.game, this.view, this.gameController));
                break;
            // Size 10 palace
            case 5:
                this.activate(new AddPalaceController(10,this.game, this.view, this.gameController));
                break;
        }

    }