Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }