2022-02-04 18:00:03 +01:00
|
|
|
package love.distributedrebirth.numberxd;
|
|
|
|
|
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.part.T12PartUncial;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
|
|
|
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
|
|
|
|
|
|
|
|
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
|
|
|
|
abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V009Tyte>> extends AbstractBaseGetậlLevel2<T,V009Tyte> {
|
|
|
|
|
|
|
|
|
|
private V144Tocta[][] values;
|
|
|
|
|
private int valuesLength;
|
2022-02-04 20:01:05 +01:00
|
|
|
private int fractalLevel;
|
2022-02-04 18:00:03 +01:00
|
|
|
|
2022-02-04 20:01:05 +01:00
|
|
|
public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel) {
|
2022-02-04 18:00:03 +01:00
|
|
|
this.fractalLevel = fractalLevel;
|
|
|
|
|
this.valuesLength = resolveFractalLevel(fractalLevel);
|
|
|
|
|
this.values = new V144Tocta[T12PartUncial.LENGTH()][valuesLength];
|
|
|
|
|
for (int x=0;x<this.values.length;x++) {
|
|
|
|
|
for (int y=0;y<this.values[x].length;y++) {
|
|
|
|
|
this.values[x][y] = new V144Tocta();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-04 20:01:05 +01:00
|
|
|
public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel, BaseIteratorOctal values) {
|
2022-02-04 18:00:03 +01:00
|
|
|
this.fractalLevel = fractalLevel;
|
|
|
|
|
this.valuesLength = resolveFractalLevel(fractalLevel);
|
|
|
|
|
this.values = new V144Tocta[T12PartUncial.LENGTH()][valuesLength];
|
|
|
|
|
for (int x=0;x<this.values.length;x++) {
|
|
|
|
|
for (int y=0;y<this.values[x].length;y++) {
|
|
|
|
|
this.values[x][y] = new V144Tocta(values);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-04 20:01:05 +01:00
|
|
|
abstract protected int resolveFractalLevel(int level);
|
2022-02-04 18:00:03 +01:00
|
|
|
|
|
|
|
|
public V009Tyte getValue() {
|
2022-02-04 20:01:05 +01:00
|
|
|
return values[matrix1][matrix2].getTytePart(T16PartHex.values()[matrix0]);
|
2022-02-04 18:00:03 +01:00
|
|
|
}
|
|
|
|
|
|
2022-02-04 20:01:05 +01:00
|
|
|
public int getFractalLevel() {
|
2022-02-04 18:00:03 +01:00
|
|
|
return fractalLevel;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2022-02-04 20:01:05 +01:00
|
|
|
public int getMatrix0Length() {
|
2022-02-04 18:00:03 +01:00
|
|
|
return T16PartHex.LENGTH();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2022-02-04 20:01:05 +01:00
|
|
|
public int getMatrix1Length() {
|
2022-02-04 18:00:03 +01:00
|
|
|
return T12PartUncial.LENGTH();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2022-02-04 20:01:05 +01:00
|
|
|
public int getMatrix2Length() {
|
2022-02-04 18:00:03 +01:00
|
|
|
return valuesLength;
|
|
|
|
|
}
|
|
|
|
|
}
|