Changeset 1c27783 in lost-perception for main


Ignore:
Timestamp:
Nov 1, 2018, 3:53:25 AM (6 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
c3b2f42
Parents:
5db343b
Message:

Turn off the RUNNING_FROM_JAR flag and ncomment the line to draw the menu main

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/LostHavenRPG.java

    • Property mode changed from 100755 to 100644
    r5db343b r1c27783  
    4848
    4949public class LostHavenRPG implements KeyListener, MouseListener {
    50     private static final boolean RUNNING_FROM_JAR = true;
     50    private static final boolean RUNNING_FROM_JAR = false;
    5151    GameState gameState;
    5252    AuxState auxState;
     
    180180            this.g = bufferStrategy.getDrawGraphics();
    181181            this.refreshRate = device.getDisplayMode().getRefreshRate();
    182             Utils.init(gc, false);
     182            Utils.init(gc, RUNNING_FROM_JAR);
    183183            this.gameState = GameState.Main;
    184184            this.auxState = AuxState.None;
     
    716716        switch (this.gameState) {
    717717            case Main: {
    718                 //this.wndMain.draw(g);
     718                this.wndMain.draw(g);
    719719                break;
    720720            }
Note: See TracChangeset for help on using the changeset viewer.