Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Sep 15, 2018
1 parent 3673495 commit 1813921
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
10 changes: 9 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopOnEntry": false,
"mainClass": "MainClass",
"mainClass": "JaimesHut",
"args": "",
"preLaunchTask": "devBuild"

},
{
"type": "java",
"name": "Debug (Attach)",
"request": "attach",
"hostName": "localhost",
"port": "<debug port of remote debuggee>"
}
]
}
7 changes: 3 additions & 4 deletions src/main/java/MainClass.java → src/main/java/JaimesHut.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@
* of jmePhonon on a real use case. If you need a properly written example, please refer to the
* non-unit tests on the main repository.
*/
public class MainClass extends SimpleApplication implements PhysicsTickListener,ActionListener{
public class JaimesHut extends SimpleApplication implements PhysicsTickListener,ActionListener{
public static void main(String[] args) {
AppSettings settings=new AppSettings(true);
settings.setRenderer(AppSettings.LWJGL_OPENGL3);
USE_PHONON=true;
settings.setWidth(1440);
settings.setHeight(900);
MainClass app=new MainClass();

JaimesHut app=new JaimesHut();
app.setSettings(settings);
app.setShowSettings(true);

Expand Down

0 comments on commit 1813921

Please sign in to comment.