History6RollsRandomizer.java :  » Game » nullpomino » net » omegaboshi » nullpomino » game » subsystem » randomizer » Java Open Source

Java Open Source » Game » nullpomino 
nullpomino » net » omegaboshi » nullpomino » game » subsystem » randomizer » History6RollsRandomizer.java
package net.omegaboshi.nullpomino.game.subsystem.randomizer;

import mu.nu.nullpo.game.component.Piece;

public class History6RollsRandomizer extends LimitedHistoryRandomizer {

  public History6RollsRandomizer() {
    super();
  }

  public History6RollsRandomizer(boolean[] pieceEnable, long seed) {
    super(pieceEnable, seed);
  }

  public void init() {
    super.init();
    history = new int[] {Piece.PIECE_S, Piece.PIECE_Z, Piece.PIECE_S, Piece.PIECE_Z};
    numrolls = 6;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.