Action multiple
This commit is contained in:
parent
bf62f82fbb
commit
cce88fc8da
@ -15,7 +15,13 @@ public class ActionAltererStatistiquesJoueur {
|
||||
|
||||
public void affecter(Joueur j1, Joueur j2)
|
||||
{
|
||||
|
||||
if(ajouter)
|
||||
{
|
||||
j2.setStat(key, j2.getStat(key)+valeur);
|
||||
}else {
|
||||
j2.setStat(key, valeur);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
13
src/effet/ActionMultiple.java
Normal file
13
src/effet/ActionMultiple.java
Normal file
@ -0,0 +1,13 @@
|
||||
package effet;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ActionMultiple {
|
||||
|
||||
private List<Action> actions;
|
||||
|
||||
public ActionMultiple(Action...actions)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
@ -29,7 +29,4 @@ public class Joueur {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user