merge the new developmentbranch into the test branch #39

Closed
j23f0712 wants to merge 431 commits from development2 into dev/test
Showing only changes of commit 8d39d61c71 - Show all commits

View File

@@ -0,0 +1,33 @@
package pp.mdga.notification;
import pp.mdga.game.BonusCard;
/**
* Notification that is to give information to the player.
*/
public class InfoNotification extends Notification{
private final String message;
private boolean isError = false;
/**
* Constructor.
*/
public InfoNotification(String info) {
this.message = info;
}
/**
* Constructor.
*/
public InfoNotification(String info, boolean isError) {
this.message = info;
this.isError = isError;
}
public String getMessage() {
return message;
}
public boolean isError() { return isError; }
}