public Groupe(string nom, Plateau plateau, Isimon isi1, EntiteActive isi2) : base(nom, null, plateau) { _cptId++; _id = _cptId; _grp = new List<Isimon>(); _grp.Add(isi1); _grp.Add((Isimon)isi2); }
public Isimon(IsiProfil i, Plateau plateau) : base(i.Nom, i.Img, plateau) { _experience = 0; _grpId = -1; _statut = IsiStatut.DISPO; _niveau = 1; _type = i.Type; _pvMax = _pv = i.Pv_max; _atk = i.Atk; _def = i.Def; _vit = i.Vit; if (PseudoAlea.GetInt(0, 1) == 0) _sexe = 'M'; else _sexe = 'F'; }
public Dresseur(String inNom, String inImage, Plateau plateau) : base(inNom, inImage,plateau) { }
private void InitPlateau() { for (int i = 0; i < init[1]; i++) gPlateau.RowDefinitions.Add(new RowDefinition()); for (int i = 0; i < init[0]; i++) gPlateau.ColumnDefinitions.Add(new ColumnDefinition()); _plateau = new Plateau(init, gPlateau); foreach (Entite e in _plateau.GetActeurs()) if( e is Isimon ) e.Image.MouseUp += new MouseButtonEventHandler(Isimon_MouseUp); }
public EntiteActive(String inNom, String inImage, Plateau plateau) : base(inNom, inImage) { _plateau = plateau; }