Fix package names
This commit is contained in:
parent
86e3d42a95
commit
c5b13f65bb
@ -1,4 +1,4 @@
|
|||||||
package AttackInformations;
|
package Manager.AttackInformations;
|
||||||
|
|
||||||
public class AttackInformations{
|
public class AttackInformations{
|
||||||
private int attack_field_dice;
|
private int attack_field_dice;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package Field;
|
package Manager.Field;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import Field.Player;
|
|
||||||
|
|
||||||
public class Field {
|
public class Field {
|
||||||
private int dice_number;
|
private int dice_number;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package Field;
|
package Manager.Field;
|
||||||
|
|
||||||
public class Player{
|
public class Player{
|
||||||
private String name;
|
private String name;
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
package Manager;
|
package Manager;
|
||||||
|
|
||||||
import Field.Field;
|
import Manager.AttackInformations.AttackInformations;
|
||||||
import Field.Player;
|
import Manager.Field.Field;
|
||||||
import AttackInformations.AttackInformations;
|
import Manager.Field.Player;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
package Manager;
|
||||||
|
|
||||||
import Manager.GameManager;
|
import Manager.GameManager;
|
||||||
import Field.Player;
|
import Manager.Field.Player;
|
||||||
|
|
||||||
public class Test {
|
public class Test {
|
||||||
public static void main(String[] args){
|
public static void main(String[] args){
|
||||||
@ -9,7 +11,7 @@ public class Test {
|
|||||||
gm.add_player("Nils");
|
gm.add_player("Nils");
|
||||||
gm.add_player("Felix");
|
gm.add_player("Felix");
|
||||||
for(Player current:gm.get_players()){
|
for(Player current:gm.get_players()){
|
||||||
System.out.println(current);
|
System.out.println(current.get_name());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,16 +0,0 @@
|
|||||||
import Manager.GameManager;
|
|
||||||
import Field.Player;
|
|
||||||
|
|
||||||
public class Test {
|
|
||||||
public static void main(String[] args){
|
|
||||||
GameManager gm = new GameManager();
|
|
||||||
gm.add_player("Sebastian");
|
|
||||||
gm.add_player("Lars");
|
|
||||||
gm.add_player("Nils");
|
|
||||||
gm.add_player("Felix");
|
|
||||||
|
|
||||||
for(Player current:gm.get_players()){
|
|
||||||
System.out.println(current);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user