public CommandePlacerTuile(int xInput, int yInput, TYPE_TUILES typeInput, Controlleur ctrl) { this.controlleurMaitre = ctrl; this.tuileAvant = controlleurMaitre.getTypeTuileAuPoint(xInput, yInput); this.x = xInput; this.y = yInput; this.type = typeInput; }
public VueEditeur() { InitializeComponent(); controlleurEditeur = new Controlleur(this); modeleEditeur = controlleurEditeur.getCarte(); afficherCarte(modeleEditeur); brosseActif = new SolidColorBrush(); brosseInactif = (SolidColorBrush)boutonHerbe.Background; brosseActif.Color = Colors.AliceBlue; }
public CommandeClonerTuile(int nInput, Controlleur ctrl) { this.controlleurMaitre = ctrl; this.tuileAvant = controlleurMaitre.getTuileActive().GetTypeTuile(); switch (nInput) { case 0: this.tuile = this.controlleurMaitre.reservePrototypes.creerTuileCustom(); break; case 1: this.tuile = this.controlleurMaitre.reservePrototypes.creerArtefactCustom(); break; } this.n = nInput; }
public EditeurDAO(Controlleur ctrlInput) { ctrl = ctrlInput; }
public CommandeChangerTuile(TYPE_TUILES tuileInput, Controlleur ctrl) { this.controlleurMaitre = ctrl; this.tuileAvant = controlleurMaitre.getTuileActive().GetTypeTuile(); this.tuile = tuileInput; }