Skip to content

Commit 9d4dcce

Browse files
committed
Finished all the seting up of libraries
add slick . lwjgl and other things
1 parent 4d4da78 commit 9d4dcce

28 files changed

+72
-0
lines changed

Ham Blaster/.classpath

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/CDC-1.1%Foundation-1.1"/>
5+
<classpathentry kind="lib" path="lib/jars/lwjgl.jar">
6+
<attributes>
7+
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="Ham Blaster/lib/native/windows"/>
8+
</attributes>
9+
</classpathentry>
10+
<classpathentry kind="lib" path="lib/jars/slick.jar"/>
11+
<classpathentry kind="output" path="bin"/>
12+
</classpath>

Ham Blaster/.project

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Ham Blaster</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
</projectDescription>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
4+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5+
org.eclipse.jdt.core.compiler.compliance=1.4
6+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
8+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
10+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
11+
org.eclipse.jdt.core.compiler.source=1.3

Ham Blaster/bin/javagame/Game.class

1.16 KB
Binary file not shown.

Ham Blaster/lib/jars/lwjgl.jar

991 KB
Binary file not shown.

Ham Blaster/lib/jars/slick.jar

654 KB
Binary file not shown.
13.5 KB
Binary file not shown.
Binary file not shown.
370 KB
Binary file not shown.
439 KB
Binary file not shown.
360 KB
Binary file not shown.
395 KB
Binary file not shown.
Binary file not shown.
932 KB
Binary file not shown.
715 KB
Binary file not shown.
351 KB
Binary file not shown.
545 KB
Binary file not shown.
334 KB
Binary file not shown.
382 KB
Binary file not shown.
381 KB
Binary file not shown.
374 KB
Binary file not shown.
60.5 KB
Binary file not shown.
63.5 KB
Binary file not shown.
58 KB
Binary file not shown.
Binary file not shown.
292 KB
Binary file not shown.
303 KB
Binary file not shown.

Ham Blaster/src/javagame/Game.java

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package javagame;
2+
import org.newdawn.slick.*;
3+
import org.newdawn.slick.state.*;
4+
5+
public class Game extends StateBasedGame{
6+
7+
8+
public static final String gamename="Ham Blaster!";
9+
public static final int menu =0;
10+
public static final int play =1;
11+
12+
public Game(String gamename){
13+
super(gamename); //add title
14+
this.addState(new Menu(menu)); //state menu added
15+
this.addState(new Play(play));
16+
}
17+
18+
public void initStatesList(GameContainer gc) throws SlickException{
19+
//gamecontainer gameloop frame rate behind the scenes things
20+
this.getState(menu).init(gc,this);
21+
this.getState(play).init(gc,this);
22+
this.enterState(menu); //to enter the menu state
23+
}
24+
25+
26+
27+
public static void main(String[] args) {
28+
29+
30+
}
31+
32+
}

0 commit comments

Comments
 (0)