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 CommandeChangerTuile(TYPE_TUILES tuileInput, Controlleur ctrl) { this.controlleurMaitre = ctrl; this.tuileAvant = controlleurMaitre.getTuileActive().GetTypeTuile(); this.tuile = tuileInput; }