Improve Window view
This commit is contained in:
parent
5beaeacc1e
commit
491f537cae
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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 |
Loading…
Reference in New Issue
Block a user