gdxapp4d/demo4d-numberxd/src/main/love/distributedrebirth/numberxd/WaveGetậl1ᑫᴰ.java

48 lines
1.4 KiB
Java
Raw Normal View History

2022-02-04 17:00:03 +00:00
package love.distributedrebirth.numberxd;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
import love.distributedrebirth.numberxd.base2t.part.T04PartQuad;
import love.distributedrebirth.numberxd.base2t.typexl.V0x049D40ˣᴸ;
/**
* Wave quad channel.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaveGetậl1ᑫᴰ extends AbstractBaseGetậlLevel0<WaveGetậl1ᑫᴰ, V0x049D40ˣᴸ> {
private final V0x049D40ˣᴸ[] values = new V0x049D40ˣᴸ[T04PartQuad.LENGTH()];
public WaveGetậl1ᑫᴰ() {
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x049D40ˣᴸ();
}
}
public WaveGetậl1ᑫᴰ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x049D40ˣᴸ(values);
}
}
@Override
public V0x049D40ˣᴸ getValue() {
2022-02-04 19:01:05 +00:00
return values[matrix0];
2022-02-04 17:00:03 +00:00
}
@Override
2022-02-04 19:01:05 +00:00
public int getMatrix0Length() {
2022-02-04 17:00:03 +00:00
return T04PartQuad.LENGTH();
}
@Override
public WaveGetậl1ᑫᴰ toClone() {
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
for (int i=0;i<this.values.length;i++) {
cloneStack.addIterator(this.values[i].iteratorOctalsByClone());
}
return new WaveGetậl1ᑫᴰ(cloneStack);
}
}