mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 12:29:44 +02:00
switch Anweisung angepasst
This commit is contained in:
@@ -50,7 +50,7 @@ public class Objekt {
|
||||
private String getImageFilename(char objectIdentifier) {
|
||||
String objectFilename;
|
||||
switch (objectIdentifier) {
|
||||
case '1':
|
||||
case '#':
|
||||
//leiterbahn
|
||||
objectFilename="src/de/heatup/resources/images/25x25_black.png";
|
||||
break;
|
||||
@@ -58,7 +58,7 @@ public class Objekt {
|
||||
//2:harware
|
||||
objectFilename="src/de/heatup/resources/images/25x25_red.png";
|
||||
break;
|
||||
case '3':
|
||||
case '-':
|
||||
//3:wand
|
||||
objectFilename="src/de/heatup/resources/images/25x25_blue.png";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user