refactor collision handling and improve game state reset functionality
This commit is contained in:
@@ -29,7 +29,7 @@ public class UI {
|
||||
private int transCount;
|
||||
private int sleepCount;
|
||||
private int charIndex;
|
||||
private String combinedText = "";
|
||||
private String combinedText;
|
||||
|
||||
// SUB-STATES
|
||||
public TradeState tradeState = TradeState.SELECT;
|
||||
@@ -757,7 +757,6 @@ public class UI {
|
||||
if(commandNum == 1) {
|
||||
graphics2d.drawString(">", textX-25, textY);
|
||||
if(panel.keyH.spacePressed) optionState = OptionState.OVERVIEW;
|
||||
panel.resetGame(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user