-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?> | ||
<jardesc> | ||
<jar path="Programmierpraktikum/Bomberman.jar"/> | ||
<options buildIfNeeded="true" compress="true" descriptionLocation="/Programmierpraktikum/Bomerman.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/> | ||
<storedRefactorings deprecationInfo="true" structuralOnly="false"/> | ||
<selectedProjects/> | ||
<manifest generateManifest="true" mainClassHandleIdentifier="=Programmierpraktikum/src<game{Applet.java[Applet" manifestLocation="/Programmierpraktikum/Webapplet.manifest" manifestVersion="1.0" reuseManifest="false" saveManifest="true" usesManifest="true"> | ||
<sealing sealJar="false"> | ||
<packagesToSeal/> | ||
<packagesToUnSeal/> | ||
</sealing> | ||
</manifest> | ||
<selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false"> | ||
<javaElement handleIdentifier="=Programmierpraktikum/src"/> | ||
</selectedElements> | ||
</jardesc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Main-Class: game.Main | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Manifest-Version: 1.0 | ||
Main-Class: game.Applet | ||
|
||
Name: game/highscore/ | ||
Sealed: true | ||
|
||
Name: level/ | ||
Sealed: true | ||
|
||
Name: entities/ | ||
Sealed: true | ||
|
||
Name: network/ | ||
Sealed: true | ||
|
||
Name: game/ | ||
Sealed: true | ||
|
||
Name: graphics/ | ||
Sealed: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jnlp spec="1.0+" codebase="" href=""> | ||
<information> | ||
<title>Bomberman</title> | ||
<vendor>Progra Gruppe 15 </vendor> | ||
</information> | ||
<resources> | ||
<!-- Application Resources --> | ||
<java version="1.6+" /> | ||
<jar href="Bomberman.jar" main="true" /> | ||
|
||
</resources> | ||
<applet-desc | ||
name="Bomberman Applet" | ||
main-class="game.Applet" | ||
width="640" | ||
height="480"> | ||
</applet-desc> | ||
</jnlp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<html> | ||
<head> | ||
<title>Bomberman</title> | ||
<script src="deployJava.js"></script> | ||
</head> | ||
|
||
<body> | ||
<script type="text/javascript"> | ||
var attributes = { | ||
code:'game.Main',width:900, height:700} ; | ||
var parameters = {jnlp_href: 'Deploy.jnlp'} ; | ||
deployJava.runApplet(attributes, parameters, '1.6'); | ||
</script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package game; | ||
|
||
import javax.swing.JApplet; | ||
|
||
public class Applet extends JApplet { | ||
|
||
public Game game; | ||
|
||
@Override | ||
public void init() { | ||
this.setIgnoreRepaint(true); | ||
this.setVisible(true); | ||
this.game = Game.getInstance(); | ||
this.add(this.game); | ||
this.setSize(Game.GAME_WIDTH, Game.GAME_HEIGHT); | ||
// Applet.this.setVisible(true); | ||
} | ||
|
||
@Override | ||
public void start() { | ||
this.game.start(); | ||
} | ||
|
||
@Override | ||
public void stop() { | ||
this.game.stop(); | ||
super.destroy(); | ||
} | ||
} |