Let matrix count from one and added the 4th.

This commit is contained in:
Willem 2022-02-04 21:26:43 +01:00
parent 6541a02041
commit 08de7c0f4f
20 changed files with 108 additions and 88 deletions

View file

@ -7,7 +7,7 @@ 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Ōṁ1ⁿᴰ<T extends BaseGetậl<T,V009Tyte>> extends AbstractBaseGetậlLevel1<T,V009Tyte> {
abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V009Tyte>> extends AbstractBaseGetậlMatrix2<T,V009Tyte> {
private V144Tocta[] values;
private int valuesLength;
@ -34,7 +34,7 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V
abstract protected int resolveFractalLevel(int level);
public V009Tyte getValue() {
return values[matrix1].getTytePart(T16PartHex.values()[matrix0]);
return values[matrix2].getTytePart(T16PartHex.values()[matrix1]);
}
public int getFractalLevel() {
@ -42,12 +42,12 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V
}
@Override
public int getMatrix0Length() {
public int getMatrix1Length() {
return T16PartHex.LENGTH();
}
@Override
public int getMatrix1Length() {
public int getMatrix2Length() {
return valuesLength;
}
}