static DifficultyVariant getVariant(int pTick, int pLevel, int mLevel, float lMod) { var result = new DifficultyVariant(); result.millisecsPerTick = pTick; result.millisecsPerLevel = pLevel; result.maxLevel = mLevel; result.levelModifier = lMod; return result; }
public GameTab(Game game, int difficultIndex) : base(game) { information = new Information(this); nextFigure = new NextFigure(this); gameField = new GameField(this); difficult = Difficulty.getDifficult(difficultIndex); information.difVariant = (Difficulty.Variants)difficultIndex; }