public class Part
{
	public int type;

	public PartImage[] pi;

	public Part(int type)
	{
		this.type = type;
		if (type == 0)
		{
			pi = new PartImage[4];
		}
		if (type == 1)
		{
			pi = new PartImage[10];
		}
		if (type == 2)
		{
			pi = new PartImage[10];
		}
		if (type == 3)
		{
			pi = new PartImage[7];
		}
		if (type == 4)
		{
			pi = new PartImage[2];
		}
		if (type == 5)
		{
			pi = new PartImage[1];
		}
	}
}
