Merge branch 'dev/client_koppe' into 'development'

Dev/client_koppe

See merge request progproj/gruppen-ht24/Gruppe-01!1
This commit is contained in:
Hanno Fleischer
2024-11-14 18:45:24 +00:00
79 changed files with 476 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
public class ActivePlayerNotification extends Notification {
ActivePlayerNotification(Color color) {
}
}

View File

@@ -0,0 +1,10 @@
package pp.mdga.notification;
import pp.mdga.game.Card;
import pp.mdga.game.Color;
public class DrawCardNotification extends Notification {
DrawCardNotification(Color color, Card card) {
}
}

View File

@@ -0,0 +1,9 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
public class InterruptNotification extends Notification {
InterruptNotification(Color color) {
}
}

View File

@@ -0,0 +1,9 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
public class MovePieceNotification extends Notification {
MovePieceNotification(Color color, int nodeIndex) {
}
}

View File

@@ -0,0 +1,4 @@
package pp.mdga.notification;
public abstract class Notification {
}

View File

@@ -0,0 +1,11 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
import java.util.UUID;
public class PieceInGameNotification extends Notification{
PieceInGameNotification(Color color, UUID id) {
}
}

View File

@@ -0,0 +1,10 @@
package pp.mdga.notification;
import pp.mdga.game.Card;
import pp.mdga.game.Color;
public class PlayCardNotification extends Notification {
PlayCardNotification(Color color, Card card) {
}
}

View File

@@ -0,0 +1,9 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
public class PlayerInGameNotification extends Notification {
PlayerInGameNotification(Color color, String name) {
}
}

View File

@@ -0,0 +1,9 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
public class ResumeNotification extends Notification {
ResumeNotification(Color color) {
}
}

View File

@@ -0,0 +1,9 @@
package pp.mdga.notification;
import pp.mdga.game.Color;
public class RollDiceNotification extends Notification{
RollDiceNotification(Color color, int eyes, int moveNumber) {
}
}

View File

@@ -0,0 +1,9 @@
package pp.mdga.notification;
import java.util.UUID;
public class SwapPieceNotification extends Notification {
SwapPieceNotification(UUID a, UUID b) {
assert(!a.equals(b));
}
}