Skip to content
Snippets Groups Projects

Ajout Batiments

Merged SCHLUMBERGER CLAUDE requested to merge schlumberger/UniversityTycoon:master into master
Compare and
6 files
+ 201
5
Preferences
Compare changes
Files
6
package fr.universitytycoon.batiment;
public class Amphi extends Batiment {
// Attributs
private int capaciteAmphi;
private int nbAmphis;
// Constructeurs
public Amphi(int capacite, int nbAmphis) {
super(BatimentType.AMPHI);
this.capaciteAmphi = capacite;
this.nbAmphis = nbAmphis;
}
public Amphi() {
this(200, 1);
}
// Accesseurs
public int getNbAmphis() {
return nbAmphis;
}
private void setNbAmphis(int newNbAmphis) {
this.nbAmphis = newNbAmphis;
}
public int getCapaciteAmphi() {
return this.capaciteAmphi;
}
private void setCapaciteAmphi(int newCapacite) {
this.capaciteAmphi = newCapacite;
}
// Mthodes
@Override
public void performEffect() {
// TODO Auto-generated method stub
}
}