public void LoadPersonnages() { // Chargement des personnages | Loading bitmaps of characters //Xemnas_II = new IPersonnage("Xemnas","B_EX170_LAST",2079,(Bitmap)resources.GetObject("Xemnas_II"),XemnasString,true); Xemnas_I = new IPersonnage("Xemnas", "B_EX170_LV99", "B_EX170", 2505, (Bitmap)resourcesFaces.GetObject("Xemnas_I"), XemnasString, true); Xigbar = new IPersonnage("Xigbar", "B_EX140_LV99", "B_EX140", 2501, (Bitmap)resourcesFaces.GetObject("Xigbar"), XigbarString, true); Xaldin = new IPersonnage("Xaldin", "B_EX130_LV99", "B_EX130", 2507, (Bitmap)resourcesFaces.GetObject("Xaldin"), XaldinString, true); Vexen = new IPersonnage("Vexen", "N_CM040_BTL", "N_CM040_BTL", 2355, (Bitmap)resourcesFaces.GetObject("Vexen"), VexenString, true); Lexaeus = new IPersonnage("Lexaeus", "N_CM020_BTL", "N_CM020_BTL", 2357, (Bitmap)resourcesFaces.GetObject("Lexaeus"), LexaeusString, true); Zexion = new IPersonnage("Zexion", "B_EX370", "B_EX370", 2427, (Bitmap)resourcesFaces.GetObject("Zexion"), ZexionString, true); Saix = new IPersonnage("Saix", "B_EX160_LV99", "B_EX160", 2502, (Bitmap)resourcesFaces.GetObject("Saix"), SaixString, true); Axel = new IPersonnage("Axel", "B_EX110_LV99", "B_EX110_LV99", 2500, (Bitmap)resourcesFaces.GetObject("Axel"), AxelString, true); Demyx = new IPersonnage("Demyx", "B_EX120_HB_LV99", "B_EX120_HB", 2508, (Bitmap)resourcesFaces.GetObject("Demyx"), DemyxString, true); Luxord = new IPersonnage("Luxord", "B_EX150_LV99", "B_EX150", 2504, (Bitmap)resourcesFaces.GetObject("Luxord"), LuxordString, true); Marluxia = new IPersonnage("Marluxia", "N_CM000_BTL", "N_CM000_BTL", 2339, (Bitmap)resourcesFaces.GetObject("Marluxia"), MarluxiaString, true); Larxene = new IPersonnage("Larxene", "B_EX400", "B_EX400", 2402, (Bitmap)resourcesFaces.GetObject("Larxene"), LarxeneString, true); OrganisationRoxas = new IPersonnage("Roxas", "B_EX390", "B_EX390", 2385, (Bitmap)resourcesFaces.GetObject("Roxas"), RoxasString, true); Empty = new IPersonnage("Empty", "EMPTY", "EMPTY", 0, new Bitmap(76, 95), XigbarString, false); Liste_Principale = new IPersonnage[] { OrganisationRoxas, Larxene, Marluxia, Luxord, Demyx, Axel, Saix, Zexion, Lexaeus, Vexen, Xaldin, Xigbar, Xemnas_I, Empty, Empty }; personnageActuel = new IPersonnage("Sora", "P_EX100", "P_EX100", 84, (Bitmap)resourcesFaces.GetObject("Sora"), SoraString, true); }
public void LoadPersonnages() { // Chargement des personnages | Loading bitmaps of characters //Xemnas_II = new IPersonnage("Xemnas","B_EX170_LAST",2079,(Bitmap)resources.GetObject("Xemnas_II"),XemnasString,true); Xemnas_I = new IPersonnage("Xemnas","B_EX170_LV99","B_EX170",2505,(Bitmap)resourcesFaces.GetObject("Xemnas_I"),XemnasString,true); Xigbar = new IPersonnage("Xigbar","B_EX140_LV99","B_EX140",2501,(Bitmap)resourcesFaces.GetObject("Xigbar"),XigbarString,true); Xaldin = new IPersonnage("Xaldin","B_EX130_LV99","B_EX130",2507,(Bitmap)resourcesFaces.GetObject("Xaldin"),XaldinString,true); Vexen = new IPersonnage("Vexen","N_CM040_BTL","N_CM040_BTL",2355,(Bitmap)resourcesFaces.GetObject("Vexen"),VexenString,true); Lexaeus = new IPersonnage("Lexaeus","N_CM020_BTL","N_CM020_BTL",2357,(Bitmap)resourcesFaces.GetObject("Lexaeus"),LexaeusString,true); Zexion = new IPersonnage("Zexion","B_EX370","B_EX370",2427,(Bitmap)resourcesFaces.GetObject("Zexion"),ZexionString,true); Saix = new IPersonnage("Saix","B_EX160_LV99","B_EX160",2502,(Bitmap)resourcesFaces.GetObject("Saix"),SaixString,true); Axel = new IPersonnage("Axel","B_EX110_LV99","B_EX110_LV99",2500,(Bitmap)resourcesFaces.GetObject("Axel"),AxelString,true); Demyx = new IPersonnage("Demyx","B_EX120_HB_LV99","B_EX120_HB",2508,(Bitmap)resourcesFaces.GetObject("Demyx"),DemyxString,true); Luxord = new IPersonnage("Luxord","B_EX150_LV99","B_EX150",2504,(Bitmap)resourcesFaces.GetObject("Luxord"),LuxordString,true); Marluxia = new IPersonnage("Marluxia","N_CM000_BTL","N_CM000_BTL",2339,(Bitmap)resourcesFaces.GetObject("Marluxia"),MarluxiaString,true); Larxene = new IPersonnage("Larxene","B_EX400","B_EX400",2402,(Bitmap)resourcesFaces.GetObject("Larxene"),LarxeneString,true); OrganisationRoxas = new IPersonnage("Roxas","B_EX390","B_EX390",2385,(Bitmap)resourcesFaces.GetObject("Roxas"),RoxasString,true); Empty = new IPersonnage("Empty","EMPTY","EMPTY",0,new Bitmap(76,95),XigbarString,false); Liste_Principale = new IPersonnage[] {OrganisationRoxas,Larxene,Marluxia,Luxord,Demyx,Axel,Saix,Zexion,Lexaeus,Vexen,Xaldin,Xigbar,Xemnas_I,Empty,Empty}; personnageActuel = new IPersonnage("Sora","P_EX100","P_EX100",84,(Bitmap)resourcesFaces.GetObject("Sora"),SoraString,true); }