Class FortressPieces.PieceWeight

  • Enclosing class:
    FortressPieces

    static class FortressPieces.PieceWeight
    extends java.lang.Object
    • Field Detail

      • weight

        public final int weight
      • placeCount

        public int placeCount
      • maxPlaceCount

        public final int maxPlaceCount
      • allowInRow

        public final boolean allowInRow
    • Constructor Detail

      • PieceWeight

        public PieceWeight​(java.lang.Class<? extends FortressPieces.Piece> p_i2055_1_,
                           int p_i2055_2_,
                           int p_i2055_3_,
                           boolean p_i2055_4_)
      • PieceWeight

        public PieceWeight​(java.lang.Class<? extends FortressPieces.Piece> p_i2056_1_,
                           int p_i2056_2_,
                           int p_i2056_3_)
    • Method Detail

      • doPlace

        public boolean doPlace​(int p_78822_1_)
      • isValid

        public boolean isValid()