public void Initialize(MoteurSysteme _moteurSysteme, MoteurPhysique _moteurPhysique) { this._moteurSysteme = _moteurSysteme; this._moteurPhysique = _moteurPhysique; _interfaceUtilisateur = new InterfaceUtilisateur(new String[4] { "Reprendre", "Reglage", "Sauvegarder", "Quitter" }); // chaque string correspond a un bouton _camera = new Vector2(50, -50); _personnage1 = new Personnage("Meta", 100, 90, 6, 3); _carte1 = new Carte(_moteurSysteme.CarteTableau1, _moteurSysteme.CarteTableauWidth, _moteurSysteme.CarteTableauHeight, _camera, 64, 64, 32, 16); _carte2 = new Carte(_moteurSysteme.CarteTableau2, _moteurSysteme.CarteTableauWidth, _moteurSysteme.CarteTableauHeight, _camera, 64, 64, 32, 16); _elementDecor = new ElementDecor(_moteurSysteme.ElementDecorTableau); }
public void Initialize(MoteurSysteme _moteurSysteme, MoteurPhysique _moteurPhysique) { this._moteurSysteme = _moteurSysteme; this._moteurPhysique = _moteurPhysique; _interfaceUtilisateur = new InterfaceUtilisateur(new String[4] {"Reprendre", "Reglage", "Sauvegarder", "Quitter"});// chaque string correspond a un bouton _camera = new Vector2(50, -50); _personnage1 = new Personnage("Meta", 100, 90, 6, 3); _carte1 = new Carte(_moteurSysteme.CarteTableau1, _moteurSysteme.CarteTableauWidth, _moteurSysteme.CarteTableauHeight, _camera, 64, 64, 32, 16); _carte2 = new Carte(_moteurSysteme.CarteTableau2,_moteurSysteme.CarteTableauWidth, _moteurSysteme.CarteTableauHeight, _camera, 64, 64, 32, 16); _elementDecor = new ElementDecor(_moteurSysteme.ElementDecorTableau); }
public SpriteIU(InterfaceUtilisateur _interfaceUtilisateur) { this._interfaceUtilisateur = _interfaceUtilisateur; }
public MoteurGraphique() { _interfaceUtilisateur = new InterfaceUtilisateur(); }