Improve Window view

This commit is contained in:
Katchan 2021-12-09 14:19:08 +01:00
parent 5beaeacc1e
commit 491f537cae
5 changed files with 0 additions and 3 deletions

View File

@ -49,7 +49,6 @@ public class Cell extends Rectangle {
Image in; Image in;
BackgroundImage bg = BG; BackgroundImage bg = BG;
if(object instanceof Player){ if(object instanceof Player){
bg = null;
if(object.equals(game.getCurrentPlayer()) && game.getSelectedAction() instanceof Shot){ if(object.equals(game.getCurrentPlayer()) && game.getSelectedAction() instanceof Shot){
in = PLAYER_SHOT_IMAGE; in = PLAYER_SHOT_IMAGE;
} }

View File

@ -221,8 +221,6 @@ public class Window extends AbstractView {
Rectangle r = new Rectangle(); Rectangle r = new Rectangle();
r.setWidth(478); r.setWidth(478);
r.setHeight(165); r.setHeight(165);
r.setStrokeWidth(1);
r.setStroke(Color.BLACK);
r.setFill(dark); r.setFill(dark);
subSp.getChildren().addAll(r,t); subSp.getChildren().addAll(r,t);
return subSp; return subSp;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB