Method druckeSpielfeld() completed
This commit is contained in:
parent
d071a1bf3b
commit
062e2dd6e2
Binary file not shown.
|
|
@ -5,5 +5,7 @@ comment1.target=TicTacToe()
|
|||
comment2.params=sp1name\ sp2name
|
||||
comment2.target=void\ spielErstellen(java.lang.String,\ java.lang.String)
|
||||
comment3.params=
|
||||
comment3.target=void\ spielStarten()
|
||||
numComments=4
|
||||
comment3.target=void\ druckeSpielfeld()
|
||||
comment4.params=
|
||||
comment4.target=void\ spielStarten()
|
||||
numComments=5
|
||||
|
|
|
|||
|
|
@ -16,11 +16,17 @@ public class TicTacToe {
|
|||
public void spielErstellen(String sp1name,String sp2name){
|
||||
Spieler spieler1 = new Spieler(sp1name);
|
||||
Spieler spieler2 = new Spieler(sp2name);
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void druckeSpielfeld(){
|
||||
|
||||
public void druckeSpielfeld(){
|
||||
System.out.println (" ");
|
||||
System.out.println (" " + spielfeld[0][2] + " | " + spielfeld[1][2] + " | "+ spielfeld[2][2] + " ");
|
||||
System.out.println ("———+———+———");
|
||||
System.out.println (" " + spielfeld[0][1] + " | " + spielfeld[1][1] + " | "+ spielfeld[2][1] + " ");
|
||||
System.out.println ("———+———+———");
|
||||
System.out.println (" " + spielfeld[0][0] + " | " + spielfeld[1][0] + " | "+ spielfeld[2][0] + " ");
|
||||
System.out.println (" ");
|
||||
}
|
||||
|
||||
public void spielStarten(){
|
||||
|
|
|
|||
|
|
@ -2,16 +2,16 @@
|
|||
dependency1.from=TicTacToe
|
||||
dependency1.to=Spieler
|
||||
dependency1.type=UsesDependency
|
||||
editor.fx.0.height=738
|
||||
editor.fx.0.height=739
|
||||
editor.fx.0.width=816
|
||||
editor.fx.0.x=232
|
||||
editor.fx.0.y=82
|
||||
objectbench.height=93
|
||||
editor.fx.0.x=552
|
||||
editor.fx.0.y=100
|
||||
objectbench.height=98
|
||||
objectbench.width=760
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.8003992015968064
|
||||
package.editor.height=394
|
||||
package.editor.width=636
|
||||
package.divider.vertical=0.79
|
||||
package.editor.height=388
|
||||
package.editor.width=649
|
||||
package.editor.x=282
|
||||
package.editor.y=204
|
||||
package.frame.height=600
|
||||
|
|
@ -38,5 +38,5 @@ target2.name=Spieler
|
|||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=80
|
||||
target2.x=170
|
||||
target2.x=470
|
||||
target2.y=10
|
||||
|
|
|
|||
Loading…
Reference in New Issue