/* Class341_Sub3 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.nio.ByteBuffer;

import jagdx.IDirect3DCubeTexture;
import jagdx.IDirect3DDevice;

public class Class341_Sub3 extends Class341 implements Interface31 {
	int anInt9998;

	public void method23() {
		super.method54();
	}

	public void method190() {
		((Class341_Sub3) this).aClass84_Sub1_Sub2_5388.method16631(this);
	}

	public void method54() {
		super.method54();
	}

	public void method189(Class378 class378) {
		super.method189(class378);
	}

	public void method196(Class378 class378) {
		super.method189(class378);
	}

	public void method19() {
		super.method54();
	}

	public void method53() {
		super.method54();
	}

	public void method191() {
		((Class341_Sub3) this).aClass84_Sub1_Sub2_5388.method16631(this);
	}

	public void method195(Class378 class378) {
		super.method189(class378);
	}

	Class341_Sub3(Class84_Sub1_Sub2 class84_sub1_sub2, int i, boolean bool, int[][] is) {
		super(class84_sub1_sub2, Class172.aClass172_2145, Class96.aClass96_1386, bool && ((Class84_Sub1_Sub2) class84_sub1_sub2).aBool10438, i * i * 6);
		((Class341_Sub3) this).anInt9998 = i;
		if (((Class341_Sub3) this).aBool5391)
			((Class341_Sub3) this).aLong5392 = (IDirect3DDevice.CreateCubeTexture((((Class84_Sub1_Sub2) ((Class341_Sub3) this).aClass84_Sub1_Sub2_5388).aLong10431), ((Class341_Sub3) this).anInt9998, 0, 1024, 21, 1));
		else
			((Class341_Sub3) this).aLong5392 = (IDirect3DDevice.CreateCubeTexture((((Class84_Sub1_Sub2) ((Class341_Sub3) this).aClass84_Sub1_Sub2_5388).aLong10431), ((Class341_Sub3) this).anInt9998, 1, 0, 21, 1));
		ByteBuffer bytebuffer = ((Class341_Sub3) this).aClass84_Sub1_Sub2_5388.aByteBuffer8876;
		for (int i_0_ = 0; i_0_ < 6; i_0_++) {
			bytebuffer.clear();
			bytebuffer.asIntBuffer().put(is[i_0_]);
			IDirect3DCubeTexture.Upload(((Class341_Sub3) this).aLong5392, i_0_, 0, 0, 0, ((Class341_Sub3) this).anInt9998, ((Class341_Sub3) this).anInt9998, ((Class341_Sub3) this).anInt9998 * 4, 0, (((Class341_Sub3) this).aClass84_Sub1_Sub2_5388.aLong8893));
		}
	}

	public void method194(Class378 class378) {
		super.method189(class378);
	}

	public void method193(Class378 class378) {
		super.method189(class378);
	}

	public void method192() {
		((Class341_Sub3) this).aClass84_Sub1_Sub2_5388.method16631(this);
	}
}
