Exemplo n.º 1
0
 //Constructeur
 public FormMenu(IdleGame p_idlegame)
 {
     m_executeur = new ExecIdleGame();
     m_idlegame  = p_idlegame;
     InitializeComponent();
     mnu_main.Renderer = new MyRenderer();
     m_ID = 0;
 }
Exemplo n.º 2
0
 //Constructeur
 public FormCreation(IdleGame p_idlegame)
 {
     m_idlegame = p_idlegame;
     InitializeComponent();
     mnu_main.Renderer = new MyRenderer();
     m_executeur       = new ExecIdleGame();
     RemplirRaces();
     RemplirClasses();
 }
Exemplo n.º 3
0
 public FormChoixStat(int p_id)
 {
     InitializeComponent();
     m_executeur           = new ExecIdleGame();
     listeIds              = new List <int>();
     m_id                  = p_id;
     temps                 = 0;
     lbl_tempsrestant.Text = temps.ToString();
     timer.Start();
 }
Exemplo n.º 4
0
 public FormChoixEquipement(int p_id)
 {
     InitializeComponent();
     m_executeur           = new ExecIdleGame();
     listeIds              = new List <int>();
     m_id                  = p_id;
     temps                 = 0;
     m_items               = false;
     m_achat               = false;
     lbl_tempsrestant.Text = temps.ToString();
     AfficheEquipements();
     RecupererArgent();
     timer.Start();
 }
Exemplo n.º 5
0
 /**Initialisation de la form
  * p_idlegame : référence sur le contrôleur principal
  * p_id : le id du joueur
  */
 public FormJeu(IdleGame p_idlegame, int p_id)
 {
     //Initialisation des paramètres de bases
     m_id       = p_id;
     m_idlegame = p_idlegame;
     InitializeComponent();
     mnu_main.Renderer = new MyRenderer();
     m_allstatusbar    = new List <Bitmap>();
     m_allcities       = new List <Bitmap>();
     m_allcartes       = new List <Bitmap>();
     indimg            = 0;
     m_niv             = 0;
     m_executeur       = new ExecIdleGame();
     RemplirListeStatusBar();
     RemplirListeCartes();
     RemplirListeVilles();
     RemplirListeHP();
     UpdateTout();
     AvancementBarre();
     pct_marchand.Parent    = img_bg;
     lbl_hp.Parent          = img_bg;
     pct_marchand.BackColor = Color.Transparent;
     lbl_info.Text          = m_executeur.DoIt(m_id);
 }