Skip to content

Commit 72b5c4b

Browse files
committed
Standardfarbe für Szenen
1 parent a6f3fcc commit 72b5c4b

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

libs/android-support-v4.jar

543 KB
Binary file not shown.

src/ea/Szene.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
public class Szene extends Raum
1111
{
1212
public Knoten wurzel;
13-
private Farbe hintergrundFarbe;
13+
private Farbe hintergrundFarbe = Farbe.Schwarz;
1414

1515
private GameSzenenActivity game;
1616

src/ea/internal/gra/Zeichner.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,9 @@ else if(getContext() instanceof GameSzenenActivity)
162162

163163
if(gsa.szeneGeben() != null)
164164
{
165-
if(gsa.szeneGeben().hintergrundFarbeGeben() != null)
166-
{
167-
g.drawColor(gsa.szeneGeben().hintergrundFarbeGeben().alsInt());
168-
}
165+
g.drawColor(gsa.szeneGeben().hintergrundFarbeGeben().alsInt());
169166
}
170-
}
171-
172-
167+
}
173168

174169
if(cam != null)
175170
cam.zeichne(g);

0 commit comments

Comments
 (0)