Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ege-sahin committed Dec 20, 2020
1 parent 93deea6 commit 8265d05
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/models/chanceCards/GetInfection.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package models.chanceCards;

import controllers.modelcontrollers.GameManager;
import models.Card;
import models.Game;

public class GetInfection implements Card {
@Override
public String getCardString() {
return "YOU ARE INFECTED, TAKE CARE";
}

@Override
public void executeAction(Game game) {
GameManager.getInstance().getCurrentPlayer().infect(true);
}
}

0 comments on commit 8265d05

Please sign in to comment.