diff --git a/Jackaroo/src/Infrastructur/Figure.java b/Jackaroo/src/Infrastructur/Figure.java index 6d5bfe6..b721cf1 100644 --- a/Jackaroo/src/Infrastructur/Figure.java +++ b/Jackaroo/src/Infrastructur/Figure.java @@ -2,6 +2,6 @@ package Infrastructur; public enum Figure { - Blue, Red, Green, Yellow + BLAU, GELB, ROT, GRÜN } diff --git a/Jackaroo/src/Infrastructur/Karten.java b/Jackaroo/src/Infrastructur/Karten.java new file mode 100644 index 0000000..438d32a --- /dev/null +++ b/Jackaroo/src/Infrastructur/Karten.java @@ -0,0 +1,8 @@ +package Infrastructur; + +public abstract class Karten { + //Attributes=> Werte von 0 bis 13 + private int wert ; + private Cards myType; + +} diff --git a/Jackaroo/src/Infrastructur/KartenDeck.java b/Jackaroo/src/Infrastructur/KartenDeck.java new file mode 100644 index 0000000..873d4e5 --- /dev/null +++ b/Jackaroo/src/Infrastructur/KartenDeck.java @@ -0,0 +1,28 @@ +package Infrastructur; + +import java.util.ArrayList; +import java.util.Collection; + +public class KartenDeck { + private ArrayList karten = new ArrayList(); + + public void kartenInitialisieren() + { + //Hier kann man alle Karten initialisieren.. + for(int i = 0;i<4;i++){ + for(int j = 0;j<13;j++) + { + // karten.add() + + } + + } + + + } + public Collection getKartenDeck() + { + return karten; + } + +} diff --git a/Jackaroo/src/Infrastructur/Player.java b/Jackaroo/src/Infrastructur/Player.java new file mode 100644 index 0000000..5a8739f --- /dev/null +++ b/Jackaroo/src/Infrastructur/Player.java @@ -0,0 +1,11 @@ +package Infrastructur; + +import java.lang.reflect.Array; +import java.util.ArrayList; + +public class Player { + private Figure myCharacter; + private ArrayList myStones; + private ArrayList myCards; + +} diff --git a/Jackaroo/src/Infrastructur/Stone.java b/Jackaroo/src/Infrastructur/Stone.java new file mode 100644 index 0000000..5740773 --- /dev/null +++ b/Jackaroo/src/Infrastructur/Stone.java @@ -0,0 +1,11 @@ +package Infrastructur; + +public class Stone { + + private Figure chracter; + // If location -1 => it's not out, if location 0 => Strongest in game + int location; + + + +} diff --git a/Jackaroo/src/Infrastructur/TauschKarte.java b/Jackaroo/src/Infrastructur/TauschKarte.java new file mode 100644 index 0000000..13345ff --- /dev/null +++ b/Jackaroo/src/Infrastructur/TauschKarte.java @@ -0,0 +1,12 @@ +package Infrastructur; + +public class TauschKarte extends ZahlenKarte{ + //Die Bubbe + //Ich glaube die Bubbe ist auch eine Zahlenkarte => Bewegt den Stein + + public void tauschen() + { + + } + +} diff --git a/Jackaroo/src/Infrastructur/ZahlenKarte.java b/Jackaroo/src/Infrastructur/ZahlenKarte.java new file mode 100644 index 0000000..6ba8982 --- /dev/null +++ b/Jackaroo/src/Infrastructur/ZahlenKarte.java @@ -0,0 +1,24 @@ +package Infrastructur; + +public class ZahlenKarte extends Karten { + //Hier kannst du deine Karten initialisieren... Diese Karten sind, die zum Laufen sind + //Ich glaube, die 3,2,8,9,Dame + private int wert; + private Cards myType; + + public int getWert() { + return wert; + } + + public Cards getMyType() { + return myType; + } + + public void setWert(int wert) { + this.wert = wert; + } + + public void setMyType(Cards myType) { + this.myType = myType; + } +}