

dofile ( "hud/chancecard_01.lua" );
dofile ( "hud/chancecard_02.lua" );
dofile ( "hud/chancecard_03.lua" );
dofile ( "hud/chancecard_04.lua" );
dofile ( "hud/chancecard_05.lua" );
dofile ( "hud/chancecard_06.lua" );

chancecard_group = 
{
	CardWindow
	{
		name = "chancecardwindow",
		x = 0,
		y = 0,
		w = kMax,
		h = kMax,
		
		-- shocked
		Window
		{
			name = "chancecard01",
			x = 0,
			y = 0,
			w = kMax,
			h = kMax,

			Bitmap
			{
				image=chancecard_01_pop_cardbg01_params["image"],
				x=chancecard_01_pop_cardbg01_params["x"],
				y=chancecard_01_pop_cardbg01_params["y"],
				name = "chancecard01_panel",	
			},		
			
			Text
			{
				font = MonopolyFont_15B_Black,
				name = "chancecard_titletext",
				x = chancecard_01_txt_chance_params["x"]-10,
				y = chancecard_01_txt_chance_params["y"]-10,
				w = chancecard_01_txt_chance_params["w"]+20,
				h = chancecard_01_txt_chance_params["h"]+20 ,
				flags = kHAlignCenter + kVAlignCenter,
				label = "chancecardtitle"
			},
			
			Text
			{
				font = MonopolyFont_12_Black,
				name = "chancecard_text",
				x = chancecard_01_txt_lefttext_params["x"],
				y = chancecard_01_txt_lefttext_params["y"]-10,
				w = chancecard_01_txt_lefttext_params["w"]+26,
				h = chancecard_01_txt_lefttext_params["h"]+10,
				flags = kHAlignLeft + kVAlignCenter,
				label = ""
			},
		},	-- chancecard01

		-- running
		Window
		{
			name = "chancecard02",
			x = 0,
			y = 0,
			w = kMax,
			h = kMax,

			Bitmap
			{
				image=chancecard_02_pop_cardbg02_params["image"],
				x=chancecard_02_pop_cardbg02_params["x"],
				y=chancecard_02_pop_cardbg02_params["y"],
				name = "chancecard02_panel",	
			},		
			
			Text
			{
				font = MonopolyFont_15B_Black,
				name = "chancecard_titletext",
				x = chancecard_02_txt_chance_params["x"]-40,
				y = chancecard_02_txt_chance_params["y"]-10,
				w = chancecard_02_txt_chance_params["w"]+80,
				h = chancecard_02_txt_chance_params["h"]+20,
				flags = kHAlignCenter + kVAlignCenter,
				label = "chancecardtitle"
			},
			
			Text
			{
				font = MonopolyFont_12_Black,
				name = "chancecard_text",
				x = chancecard_01_txt_lefttext_params["x"],
				y = chancecard_01_txt_lefttext_params["y"]-20,
				w = chancecard_01_txt_lefttext_params["w"]+20,
				h = chancecard_01_txt_lefttext_params["h"]+40,
				flags = kHAlignLeft + kVAlignCenter,
				label = ""
			},
		},	-- chancecard02
		
		-- Architect
		Window
		{
			name = "chancecard03",
			x = 0,
			y = 0,
			w = kMax,
			h = kMax,

			Bitmap
			{
				image=chancecard_03_pop_cardbg03_params["image"],
				x=chancecard_03_pop_cardbg03_params["x"],
				y=chancecard_03_pop_cardbg03_params["y"],
				name = "chancecard03_panel",	
			},		
			
			Text
			{
				font = MonopolyFont_15B_Black,
				name = "chancecard_titletext",
				x = chancecard_03_txt_chance_params["x"]-10,
				y = chancecard_03_txt_chance_params["y"]-10,
				w = chancecard_03_txt_chance_params["w"]+20,
				h = chancecard_03_txt_chance_params["h"]+20,
				flags = kHAlignCenter + kVAlignCenter,
				label = "chancecardtitle"
			},
			
			Text
			{
				font = MonopolyFont_12_Black,
				name = "chancecard_text",
				x = chancecard_03_txt_lefttext_params["x"],
				y = chancecard_03_txt_lefttext_params["y"],
				w = chancecard_03_txt_lefttext_params["w"]+100,
				h = chancecard_03_txt_lefttext_params["h"],
				flags = kHAlignLeft + kVAlignCenter,
				label = ""
			},
		},	-- chancecard03
		
		-- Jail
		Window
		{
			name = "chancecard04",
			x = 0,
			y = 0,
			w = kMax,
			h = kMax,

			Bitmap
			{
				image=chancecard_04_pop_cardbg04_params["image"],
				x=chancecard_04_pop_cardbg04_params["x"],
				y=chancecard_04_pop_cardbg04_params["y"],
				name = "chancecard04_panel",	
			},		
			
			Text
			{
				font = MonopolyFont_15B_Black,
				name = "chancecard_titletext",
				x = chancecard_04_txt_chance_params["x"]-10,
				y = chancecard_04_txt_chance_params["y"]-10,
				w = chancecard_04_txt_chance_params["w"]+20,
				h = chancecard_04_txt_chance_params["h"]+20,
				flags = kHAlignCenter + kVAlignCenter,
				label = "chancecardtitle"
			},
			
			Text
			{
				font = MonopolyFont_10_Black,
				name = "chancecard_text",
				x = chancecard_04_txt_bottomtext_params["x"],
				y = chancecard_04_txt_bottomtext_params["y"]-10,
				w = chancecard_04_txt_bottomtext_params["w"]+10,
				h = chancecard_04_txt_bottomtext_params["h"]+20,
				flags = kHAlignLeft + kVAlignCenter,
				label = ""
			},
		},	-- chancecard04
		
		-- Thumb up
		Window
		{
			name = "chancecard05",
			x = 0,
			y = 0,
			w = kMax,
			h = kMax,

			Bitmap
			{
				image=chancecard_05_pop_cardbg05_params["image"],
				x=chancecard_05_pop_cardbg05_params["x"],
				y=chancecard_05_pop_cardbg05_params["y"],
				name = "chancecard05_panel",	
			},		
			
			Text
			{
				font = MonopolyFont_15B_Black,
				name = "chancecard_titletext",
				x = chancecard_05_txt_chance_params["x"]-10,
				y = chancecard_05_txt_chance_params["y"]-10,
				w = chancecard_05_txt_chance_params["w"]+20,
				h = chancecard_05_txt_chance_params["h"]+20,
				flags = kHAlignCenter + kVAlignCenter,
				label = "chancecardtitle"
			},
			
			Text
			{
				font = MonopolyFont_12_Black,
				name = "chancecard_text",
				x = chancecard_05_txt_centertext_params["x"]-5,
				y = chancecard_05_txt_centertext_params["y"],
				w = chancecard_05_txt_centertext_params["w"]+25,
				h = chancecard_05_txt_centertext_params["h"]+10,
				flags = kHAlignLeft + kVAlignCenter,
				label = ""
			},
		},	-- chancecard05
		
		--Pay
		Window
		{
			name = "chancecard06",
			x = 0,
			y = 0,
			w = kMax,
			h = kMax,

			Bitmap
			{
				image=chancecard_06_pop_cardbg06_params["image"],
				x=chancecard_06_pop_cardbg06_params["x"],
				y=chancecard_06_pop_cardbg06_params["y"],
				name = "chancecard06_panel",	
			},		
			
			Text
			{
				font = MonopolyFont_15B_Black,
				name = "chancecard_titletext",
				x = chancecard_06_txt_chance_params["x"]-10,
				y = chancecard_06_txt_chance_params["y"]-10,
				w = chancecard_06_txt_chance_params["w"]+20,
				h = chancecard_06_txt_chance_params["h"]+20,
				flags = kHAlignCenter + kVAlignCenter,
				label = "chancecardtitle"
			},
			
			Text
			{
				font = MonopolyFont_12_Black,
				name = "chancecard_text",
				x = chancecard_06_txt_centertext_params["x"],
				y = chancecard_06_txt_centertext_params["y"],
				w = chancecard_06_txt_centertext_params["w"],
				h = chancecard_06_txt_centertext_params["h"],
				flags = kHAlignLeft + kVAlignCenter,
				label = ""
			},
		},	-- chancecard06
		


	},
}