chore: DEFAULT_COLOR -> BACKGROUND_COLOR

This commit is contained in:
2025-12-31 23:37:50 +01:00
parent 1c72622726
commit 46b6f5c7b5
2 changed files with 3 additions and 3 deletions

View File

@@ -50,11 +50,11 @@ public class CliHandler extends AbstractEventHandler<RerenderScreen> {
: new Empty();
TextColor topColor = topPixel instanceof Empty
? Constants.DEFAULT_COLOR
? Constants.BACKGROUND_COLOR
: topPixel.getColor();
TextColor bottomColor = bottomPixel instanceof Empty
? Constants.DEFAULT_COLOR
? Constants.BACKGROUND_COLOR
: bottomPixel.getColor();
drawHalfPixel(tg, x, y / 2, topColor, bottomColor);

View File

@@ -3,5 +3,5 @@ package cz.jzitnik.game;
import com.googlecode.lanterna.TextColor;
public class Constants {
public static final TextColor DEFAULT_COLOR = new TextColor.RGB(4, 4, 16);
public static final TextColor BACKGROUND_COLOR = new TextColor.RGB(4, 4, 16);
}