Skip to content

Commit

Permalink
Fehlerkorrekturen Teil 1 von so manchen
Browse files Browse the repository at this point in the history
GeneralMap, Bild, MapWorld, Player, Province
  • Loading branch information
SariusRu committed Jul 1, 2016
1 parent 0710c51 commit 7ac3e27
Show file tree
Hide file tree
Showing 5 changed files with 264 additions and 251 deletions.
4 changes: 2 additions & 2 deletions GeneralMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public abstract class GeneralMap extends World implements ButtonEvent
Später evtl. weitere Werte wie Schwierigkeit denkbar
*/
Button modus = new Button("Kampf",25,this);
private final int X_OFFSET = 160; // Verschiebt die Provinzen nach rechts
private final int Y_OFFSET = 0; // Verschiebt die Provinzen nach unten
private final int X_OFFSET = 200; // Verschiebt die Provinzen nach rechts
private final int Y_OFFSET = 25; // Verschiebt die Provinzen nach unten

/*
Die einzelnen Positionen der Provinzen wird mit SCALE_VALUE/10000 multipliziert.
Expand Down
5 changes: 3 additions & 2 deletions Map_World.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ public class Map_World extends GeneralMap
konstruiert eine GeneralMap mit den Ausmassen 1600 auf 900 Pixel.
*/

public Map_World(String[] playerList, int[] colourList)
public Map_World(String[] playerList, int[] colorList)
{

super("",playerList,colorList);
setBackground("Risiko Karte.png");
setBackground("MapWorld.png");
/*
Hier werden später sämtliche Provinzen der Standard-Map erstellt.
Dies funktioniert folgendermassen:
Expand Down
Loading

0 comments on commit 7ac3e27

Please sign in to comment.