mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
refactored Player.gainLife() to include source
This commit is contained in:
parent
254935da39
commit
3798f34c38
209 changed files with 221 additions and 218 deletions
|
|
@ -1592,7 +1592,7 @@ public class TestPlayer implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public int gainLife(int amount, Game game) {
|
||||
public int gainLife(int amount, Game game, Ability source) {
|
||||
return computerPlayer.gainLife(amount, game);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ public class PlayerStub implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public int gainLife(int amount, Game game) {
|
||||
public int gainLife(int amount, Game game, Ability source) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue