// Path: app/src/main/java/com/quaap/primary/base/StdLevel.java
// public abstract class StdLevel extends Level {
//     private final InputMode mInputMode;
// 
//     protected StdLevel(int subjectkey, int rounds, InputMode mInputMode) {
//         super(subjectkey, rounds);
//         this.mInputMode = mInputMode;
//     }
// 
// 
//     public InputMode getInputMode() {
//         return mInputMode;
//     }
// 
//     protected String getInputModeString(Context context) {
//         return getInputMode() == InputMode.Buttons ? context.getString(R.string.disp_buttons) : context.getString(R.string.disp_input);
//     }
// }
// 
// Path: app/src/main/java/com/quaap/primary/base/component/InputMode.java
// public enum InputMode {
//     None, Buttons, Input
// }


import android.content.Context;
import com.quaap.primary.R;
import com.quaap.primary.base.StdLevel;
import com.quaap.primary.base.component.InputMode;
package com.quaap.primary.partsofspeech.plurals;



/**
 * Created by tom on 12/18/16.
 * <p>
 * Copyright (C) 2016  tom
 * <p>
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 * <p>
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
public class PluralLevel extends StdLevel {

    private static final int wDiff = 3;
    private final int mMaxwordlength;
    private final int mMinwordlength;

    public PluralLevel(int subjectkey, int maxwordlength, int rounds, InputMode inputMode) {
        this(subjectkey, maxwordlength > wDiff ? maxwordlength - wDiff : 1, maxwordlength, rounds, inputMode);
    }

// Path: app/src/main/java/com/quaap/primary/base/StdLevel.java
// public abstract class StdLevel extends Level {
//     private final InputMode mInputMode;
// 
//     protected StdLevel(int subjectkey, int rounds, InputMode mInputMode) {
//         super(subjectkey, rounds);
//         this.mInputMode = mInputMode;
//     }
// 
// 
//     public InputMode getInputMode() {
//         return mInputMode;
//     }
// 
//     protected String getInputModeString(Context context) {
//         return getInputMode() == InputMode.Buttons ? context.getString(R.string.disp_buttons) : context.getString(R.string.disp_input);
//     }
// }
// 
// Path: app/src/main/java/com/quaap/primary/base/component/InputMode.java
// public enum InputMode {
//     None, Buttons, Input
// }


// Path: app/src/main/java/com/quaap/primary/partsofspeech/plurals/PluralLevel.java
import android.content.Context;
import com.quaap.primary.R;
import com.quaap.primary.base.StdLevel;
import com.quaap.primary.base.component.InputMode;

package com.quaap.primary.partsofspeech.plurals;



/**
 * Created by tom on 12/18/16.
 * <p>
 * Copyright (C) 2016  tom
 * <p>
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 * <p>
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
public class PluralLevel extends StdLevel {

    private static final int wDiff = 3;
    private final int mMaxwordlength;
    private final int mMinwordlength;

    public PluralLevel(int subjectkey, int maxwordlength, int rounds, InputMode inputMode) {
        this(subjectkey, maxwordlength > wDiff ? maxwordlength - wDiff : 1, maxwordlength, rounds, inputMode);
    }

    private PluralLevel(int subjectkey, int minwordlength, int maxwordlength, int rounds, InputMode inputMode) {