diff --git a/HeatUp/src/de/heatup/mapengine/MapEngine.java b/HeatUp/src/de/heatup/mapengine/MapEngine.java index 3847515..d71e1a8 100644 --- a/HeatUp/src/de/heatup/mapengine/MapEngine.java +++ b/HeatUp/src/de/heatup/mapengine/MapEngine.java @@ -5,14 +5,11 @@ package de.heatup.mapengine; import java.awt.Point; import java.io.File; import java.io.FileNotFoundException; -import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; import javax.swing.JFileChooser; -import javax.swing.JPanel; - import de.heatup.logging.Logger; import de.heatup.objects.*; @@ -94,32 +91,32 @@ public class MapEngine { /* * wird wahrscheinlich anders umgesetzt. methode ist für testzwecke enthalten. */ - protected void addAllGameTilesToGamePanel(JPanel gamePanel) throws IOException { - int x = 0; - int y = 0; - for (int i = 0; i= 800) { - x = 0; - y += 25; - } else { - x += 25; - } - gamePanel.add(newGameTile.getLabel()); - - } - - } - gamePanel.repaint(); - } - /* - * get all tiles in a 2 dimensional char array - */ - private char[][] getTiles() { - return tiles; - } +// protected void addAllGameTilesToGamePanel(JPanel gamePanel) throws IOException { +// int x = 0; +// int y = 0; +// for (int i = 0; i= 800) { +// x = 0; +// y += 25; +// } else { +// x += 25; +// } +// gamePanel.add(newGameTile.getLabel()); +// +// } +// +// } +// gamePanel.repaint(); +// } +// /* +// * get all tiles in a 2 dimensional char array +// */ +// private char[][] getTiles() { +// return tiles; +// } private HashMap> getAllMapTiles() { return allMapTiles; }