continued options menu
This commit is contained in:
@@ -330,11 +330,14 @@ public class UI {
|
||||
textY = frameY + panel.tileSize;
|
||||
graphics2d.drawString(title, textX, textY);
|
||||
|
||||
// FULLSCREEN
|
||||
// FULLSCREEN ON/OFF
|
||||
textX = frameX + panel.tileSize;
|
||||
textY += panel.tileSize;
|
||||
graphics2d.drawString("Full Screen", textX, textY);
|
||||
if(commandNum == 0) graphics2d.drawString(">", textX-25, textY);
|
||||
if(commandNum == 0) {
|
||||
graphics2d.drawString(">", textX-25, textY);
|
||||
if(panel.keyH.spacePressed) panel.fullscreen = !panel.fullscreen;
|
||||
}
|
||||
|
||||
// MUSIC
|
||||
textY += panel.tileSize;
|
||||
@@ -343,7 +346,7 @@ public class UI {
|
||||
|
||||
// SOUND EFFECTS
|
||||
textY += panel.tileSize;
|
||||
graphics2d.drawString("Sound Effects (SFX)", textX, textY);
|
||||
graphics2d.drawString("SFX", textX, textY);
|
||||
if(commandNum == 2) graphics2d.drawString(">", textX-25, textY);
|
||||
|
||||
// CONTROL
|
||||
@@ -360,6 +363,20 @@ public class UI {
|
||||
textY += panel.tileSize*2;
|
||||
graphics2d.drawString("Back to Game", textX, textY);
|
||||
if(commandNum == 5) graphics2d.drawString(">", textX-25, textY);
|
||||
|
||||
// FULL SCREEN CHECKBOX
|
||||
textX = frameX + (int)(panel.tileSize*4.5);
|
||||
textY = frameY + panel.tileSize*2 - panel.tileSize/2;
|
||||
graphics2d.setStroke(new BasicStroke(3));
|
||||
graphics2d.drawRect(textX, textY, panel.tileSize/2, panel.tileSize/2);
|
||||
|
||||
// MUSIC VOLUME
|
||||
textY += panel.tileSize;
|
||||
graphics2d.drawRect(textX, textY, 120, panel.tileSize/2);
|
||||
|
||||
// SFX VOLUME
|
||||
textY += panel.tileSize;
|
||||
graphics2d.drawRect(textX, textY, 120, panel.tileSize/2);
|
||||
}
|
||||
|
||||
public enum OptionState {
|
||||
|
||||
Reference in New Issue
Block a user