This commit is contained in:
pro.boooooo
2022-12-07 20:47:08 +01:00
parent 276fc19076
commit 51407d32cc
11 changed files with 167 additions and 10 deletions

44
src/MNP/RequeteNP.java Normal file
View File

@@ -0,0 +1,44 @@
package MNP;
import API.Requete;
public class RequeteNP implements Requete {
private final int id;
private final String message;
private final int etuSource;
private final int type;
private final int witchGroupe;
public RequeteNP(int id, String message, int etuSource, int type, int witchGroupe) {
this.id = id;
this.message = message;
this.etuSource = etuSource;
this.type = type;
this.witchGroupe = witchGroupe;
}
@Override
public int getEtuId() {
return this.etuSource;
}
@Override
public String getMessage() {
return this.message;
}
@Override
public int getIdMessage() {
return this.id;
}
@Override
public int getType() {
return this.type;
}
@Override
public int getWitchGroupe() {
return this.witchGroupe;
}
}