Skip to content

Commit

Permalink
Farbnamen bei den Dateien geändert
Browse files Browse the repository at this point in the history
Grün und Gr++n zu Gruen geändert, um Fehler zu vermeiden.
  • Loading branch information
Zocker1999NET committed Jul 1, 2016
1 parent 688ccb7 commit 6c6f75c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private void oDecide(GreenfootImage statistics,int textSize)
redraw(statistics,flag,textSize);
break;
case 3:
flag = new GreenfootImage("images\\Gr++neArmee.jpg");
flag = new GreenfootImage("images\\GrueneArmee.jpg");

redraw(statistics,flag,textSize);
break;
Expand Down
12 changes: 6 additions & 6 deletions Province.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Province extends Actor

private boolean clicked = false;
/**
* Überprüft, ob die Provinz angeklickt wurde.
* �berpr�ft, ob die Provinz angeklickt wurde.
*/
public void act()
{
Expand All @@ -45,7 +45,7 @@ public Province(int pID, int cID, int x, int y, int st, String s1, int[] ia1)
stars = st;
}
displayName = s1;
// Der Teil, der sich um die Konvertierung des int-Array in ein boolean-Array kümmert.
// Der Teil, der sich um die Konvertierung des int-Array in ein boolean-Array k�mmert.
int maxNum = 0;
for(int i = 0; i < ia1.length; i++) {
if(maxNum < ia1[i]) {
Expand All @@ -60,7 +60,7 @@ public Province(int pID, int cID, int x, int y, int st, String s1, int[] ia1)
}
}

// Zweiter Konstruktor, um auch das boolean-Array gegebenenfalls verwenden zu könnnen.
// Zweiter Konstruktor, um auch das boolean-Array gegebenenfalls verwenden zu k�nnnen.
public Province(int pID, int cID, int x, int y, int st, String s1, boolean[] ba1)
{
provinceID = pID;
Expand Down Expand Up @@ -98,7 +98,7 @@ public int getContinentID()
return continentID;
}

// Fragt ab, ob die angegebene Provinz in der Nähe von dieser liegt.
// Fragt ab, ob die angegebene Provinz in der N�he von dieser liegt.
public boolean isProvinceNear(int i) {
if(i >= nextProvinces.length) {
return false;
Expand All @@ -124,7 +124,7 @@ public int getOwner()
return owner;
}

// Setzt den Owner, benötigt String
// Setzt den Owner, ben�tigt String
public void setOwner(int o)
{
if(o < -1) {
Expand Down Expand Up @@ -205,7 +205,7 @@ public void oDecide(GreenfootImage province,int textSize, int owner, int eCount)
eCalculate(province,ownerString,textSize);
break;
case 5:
ownerString = "gr++n";
ownerString = "gruen";
eCalculate(province,ownerString,textSize);
break;
case 6:
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 6c6f75c

Please sign in to comment.