fixed bad performancegit status!; edited GameNotification; fixed error because of changed 'Color' enum
This commit is contained in:
@@ -1,12 +1,22 @@
|
||||
package pp.mdga.notification;
|
||||
|
||||
import pp.mdga.game.Color;
|
||||
|
||||
/**
|
||||
* GameNotification class
|
||||
*/
|
||||
public class GameNotification extends Notification{
|
||||
|
||||
private final Color ownColor;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public GameNotification() {
|
||||
public GameNotification(Color ownColor) {
|
||||
this.ownColor = ownColor;
|
||||
}
|
||||
|
||||
public Color getOwnColor() {
|
||||
return ownColor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user