BloodPressure = getClass("BloodPressure")

BloodPressure.minigameID = "BLOODPRESSURE"
BloodPressure.minigameIdx = 1

BloodPressure.levels = {}
BloodPressure.levels[1] =
{
	duration = 20000,
	gaugeImage = {"BLOODPRESSURE_ANIMAL_GAUGE6", "BLOODPRESSURE_COLOR_GAUGE6", "BLOODPRESSURE_GAUGE6:minigames", },
	checkBackImage = {"BLOODPRESSURE_ANIMAL6:minigames", "BLOODPRESSURE_COLOR6:minigames", "BLOODPRESSURE_CHECKBOX6:minigames", },
	checkCount = 6,
	angleDecreasePerSecondUp = 40,
	angleDecreasePerSecondDown = 115,
	pumpAngleMin = 70,
	pumpAngleMax = 70,
	rotationMax = math.atan(29/76),
}
BloodPressure.levels[2] =
{
	duration = 17000,
	gaugeImage = {"BLOODPRESSURE_ANIMAL_GAUGE8", "BLOODPRESSURE_COLOR_GAUGE8", "BLOODPRESSURE_GAUGE8:minigames", },
	checkBackImage = {"BLOODPRESSURE_ANIMAL8:minigames", "BLOODPRESSURE_COLOR8:minigames", "BLOODPRESSURE_CHECKBOX8:minigames", },
	checkCount = 8,
	angleDecreasePerSecondUp = 40,
	angleDecreasePerSecondDown = 90,
	pumpAngleMin = 80,
	pumpAngleMax = 80,
	rotationMax = math.atan(39/74),
}
BloodPressure.levels[3] =
{
	duration = 14000,
	gaugeImage = {"BLOODPRESSURE_ANIMAL_GAUGE10", "BLOODPRESSURE_COLOR_GAUGE10", "BLOODPRESSURE_GAUGE10:minigames", },
	checkBackImage = {"BLOODPRESSURE_ANIMAL10:minigames", "BLOODPRESSURE_COLOR10:minigames", "BLOODPRESSURE_CHECKBOX10:minigames", },
	checkCount = 10,
	angleDecreasePerSecondUp = 40,
	angleDecreasePerSecondDown = 60,
	pumpAngleMin = 90,
	pumpAngleMax = 90,
	rotationMax = math.atan(17/81),
}
BloodPressure.levels[4] =
{
	duration = 19000,
	gaugeImage = {"BLOODPRESSURE_ANIMAL_GAUGE12", "BLOODPRESSURE_COLOR_GAUGE12", "BLOODPRESSURE_GAUGE12:minigames", },
	checkBackImage = {"BLOODPRESSURE_ANIMAL12:minigames", "BLOODPRESSURE_COLOR12:minigames", "BLOODPRESSURE_CHECKBOX12:minigames", },
	checkCount = 12,
	angleDecreasePerSecondUp = 40,
	angleDecreasePerSecondDown = 35,
	pumpAngleMin = 100,
	pumpAngleMax = 100,
	rotationMax = math.atan(28/77),
}
BloodPressure.levels[5] =
{
	duration = 21000,
	gaugeImage = {"BLOODPRESSURE_ANIMAL_GAUGE14", "BLOODPRESSURE_COLOR_GAUGE14", "BLOODPRESSURE_GAUGE14:minigames", },
	checkBackImage = {"BLOODPRESSURE_ANIMAL14:minigames", "BLOODPRESSURE_COLOR14:minigames", "BLOODPRESSURE_CHECKBOX14:minigames", },
	checkCount = 14,
	angleDecreasePerSecondUp = 40,
	angleDecreasePerSecondDown = 30,
	pumpAngleMin = 120,
	pumpAngleMax = 120,
	rotationMax = math.atan(36/75),
}
BloodPressure.layouts = {}
BloodPressure.layouts[1] =
{ class="BloodPressure", name="BloodPressure MiniGame",
	gameSprites =
	{
		{class="Sprite", name="ARMBAND", x=257, y=135, image="BLOODPRESSURE_ARMBAND:minigames"},
		{class="Sprite", name="GAUGE", x=301, y=156, },
		{class="Sprite", name="CLIPBOARD", x=45, y=427, image="BLOODPRESSURE_CLIPBOARD:minigames"},		
		{class="Sprite", name="LIGHT", x=467, y=320, anchor="center", image="BLOODPRESSURE_LIGHT:minigames"},
		{class="Sprite", name="CHECKBACK", x=342, y=552, anchor="top", },
		{class="Sprite", name="ARROW", x=421, y=272, image="BLOODPRESSURE_ARROW:minigames", anchor={12,83}},
		{class="Sprite", name="ARROW_SHADOW", x=424, y=275, image="BLOODPRESSURE_ARROW_SHADOW:minigames", anchor={12,83}},
		{class="Button", name="PUMP", x=58, y=208, image="BLOODPRESSURE_PUMP:minigames",},
		{class="Sprite", name="MARK", x=0, y=54, visible=false, alpha=0.5, anchor="center"},
	},
	checkbox = {class="Button", name="CHECK", y=552, anchor="top", blendMode="additive", hitMaskThreshold=-1},
}
