mirror of
https://github.com/ulfgebhardt/java_plumber.git
synced 2025-12-12 17:15:50 +00:00
init commit
This commit is contained in:
commit
8abf55ed7d
8
.classpath
Normal file
8
.classpath
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry excluding="plumber/controller/exceptioncatcher/|plumber/model/events/levelset/|plumber/model/events/levelelement/Water.java|plumber/model/events/levelelement/UnWater.java" kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Translator"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
17
.project
Normal file
17
.project
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Plumber</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
12
.settings/org.eclipse.jdt.core.prefs
Normal file
12
.settings/org.eclipse.jdt.core.prefs
Normal file
@ -0,0 +1,12 @@
|
||||
#Thu Feb 25 22:27:38 CET 2010
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
101
Plumber.de_DE
Normal file
101
Plumber.de_DE
Normal file
@ -0,0 +1,101 @@
|
||||
//about window
|
||||
credits = Impressum:
|
||||
names = Sascha, Yvonne, Ulf, Jana
|
||||
about = <html><center>Vier Leute fanden sich zusammen <br> in zwei Wochen <br> ein Spiel zu erstellen ...<\center><\html>
|
||||
|
||||
backButton.iconName=
|
||||
backButton.label=Zurueck
|
||||
backButton.mnemonic=z
|
||||
backButton.toolTipText=Druecken Sie diesen Knopf um zum Menue zu gehen
|
||||
|
||||
//options window
|
||||
aim = <html>Ziel des Spieles:<br>Durch rotieren der Rohre eine funktionierende Verbindung zwischen der Quelle und der Senke herstellen.<\html>
|
||||
control = <html>Steuerung:<br>Mit der Maus und/oder Tastatur (Pfeiltasten)<\html>
|
||||
rules = <html>Regeln:<br>Aus jeder Aktion und der Zeit wird der Punktestand errechnet. Sie können Schritte rueckgaengig machen und wiederholen lassen, auch ein Neustart ist möglich.<br>Achten Sie auf die ablaufende Zeit! Nach Ablauf der Zeit beginnt das Wasser automatisch zu fließen. Gefuellte Rohre sind nicht mehr drehbar.<\html>
|
||||
shortcuts = <html>Tastenbelegung:<br>[w] - Wasser starten<br>[n] - Neustart<br>[t] - Thema wechseln<br>[h] - Bestenliste<br>[q] - Beenden<br>[Leertaste] - rotieren<br>[Enter] - Wiederholen<br>[Backspace] - Zurueck<\html>
|
||||
|
||||
//highscore window
|
||||
time = Zeit
|
||||
points = Punkte
|
||||
highscore = Bestenliste
|
||||
|
||||
//main menu
|
||||
startButton.iconName=
|
||||
startButton.label= Starte Plumber
|
||||
startButton.mnemonic=s
|
||||
startButton.toolTipText=Druecken Sie diesen Knopf zum Starten
|
||||
|
||||
highscoreButton.iconName=
|
||||
highscoreButton.label= Highscore
|
||||
highscoreButton.mnemonic=h
|
||||
highscoreButton.toolTipText=Hier sehen Sie den Highscore
|
||||
|
||||
directionsButton.iconName=
|
||||
directionsButton.label= Anleitung
|
||||
directionsButton.mnemonic=o
|
||||
directionsButton.toolTipText=Klicken Sie hier fuer weiter Optionen
|
||||
|
||||
aboutButton.iconName=
|
||||
aboutButton.label= Informationen
|
||||
aboutButton.mnemonic=i
|
||||
aboutButton.toolTipText=Klicken Sie hier fuer weiter Informationen
|
||||
|
||||
|
||||
languageMenu.iconName=
|
||||
languageMenu.label= Sprache
|
||||
languageMenu.mnemonic=l
|
||||
languageMenu.toolTipText=Sprache hier auswaehlen
|
||||
|
||||
deutschItem.iconName=
|
||||
deutschItem.label=Deutsch
|
||||
deutschItem.mnemonic=d
|
||||
deutschItem.toolTipText=Waehle deutsch
|
||||
|
||||
englishItem.iconName=
|
||||
englishItem.label=English
|
||||
englishItem.mnemonic=e
|
||||
englishItem.toolTipText=Choose English
|
||||
|
||||
//window
|
||||
|
||||
timeLeft = Übrige Zeit:
|
||||
|
||||
restart.iconName=
|
||||
restart.label=Neustart
|
||||
restart.mnemonic=n
|
||||
restart.toolTipText=Druecken Sie diesen Knopf zum Neustarten
|
||||
|
||||
undo.iconName=
|
||||
undo.label=<<<
|
||||
undo.mnemonic=r
|
||||
undo.toolTipText=Druecken Sie diesen Knopf um den letzten Schritt rueckgaengig zu machen
|
||||
|
||||
redo.iconName=
|
||||
redo.label=>>>
|
||||
redo.mnemonic=w
|
||||
redo.toolTipText=Druecken Sie diesen Knopf um den letzten Schritt zu Wiederholen
|
||||
|
||||
exit.iconName=
|
||||
exit.label=Beenden
|
||||
exit.mnemonic=b
|
||||
exit.toolTipText=Druecken Sie diesen Knopf zum Beenden
|
||||
|
||||
theme.iconName=
|
||||
theme.label=Thema
|
||||
theme.mnemonic=t
|
||||
theme.toolTipText=Druecken Sie diesen Knopf um ein anderes Thema auszusuchen
|
||||
|
||||
Wasser.iconName=
|
||||
Wasser.label=Wasser
|
||||
Wasser.mnemonic=w
|
||||
Wasser.toolTipText=Druecken Sie diesen Knopf um das Wasser zu starten
|
||||
|
||||
Highscore.iconName=
|
||||
Highscore.label=Highscore
|
||||
Highscore.mnemonic=h
|
||||
Highscore.toolTipText=Zeigt Highscore fuer aktuelles Levelset
|
||||
|
||||
|
||||
gameover = Spiel vorbei!
|
||||
mastered = Level geschafft!
|
||||
ended = Das Levelpaket ist zu Ende. Bitte im Hauptmenü ein neues wählen.
|
||||
101
Plumber.en_US
Normal file
101
Plumber.en_US
Normal file
@ -0,0 +1,101 @@
|
||||
//about window
|
||||
credits = Credits:
|
||||
names = Sascha, Yvonne, Ulf, Jana
|
||||
about = <html><center>Four people came together<br> to create one game<br> in two weeks ...<\center><\html>
|
||||
|
||||
backButton.iconName=
|
||||
backButton.label= Back
|
||||
backButton.mnemonic=b
|
||||
backButton.toolTipText=Press Button to get back to the menu
|
||||
|
||||
//options window
|
||||
aim = <html>Goal:<br> The goal is to find a valid connection between the sink and the well <\html>
|
||||
control = <html>Control:<br> With the mouse or the arrow keys <\html>
|
||||
rules = <html>Rules:<br> Your Points are calculated according to every action and the time. You can undo and redo steps. A restart of a level is also possible. <br> Look at the time you have left. The water will start to flow after the time is down to zero. You can't move pipes that are filled with water.<\html>
|
||||
shortcuts = <html>Shortcuts:<br> [w] - start the water<br>[n] - restart<br>[t] - change the theme<br>[h] - Highscore<br>[q] - Quit<br>[space] - rotate<br>[Enter] - redo<br>[Backspace] - undo<\html>
|
||||
|
||||
//highscore window
|
||||
time = Time
|
||||
points = Points
|
||||
highscore = Highscore
|
||||
|
||||
//main menu
|
||||
startButton.iconName=
|
||||
startButton.label= Start Plumber
|
||||
startButton.mnemonic=s
|
||||
startButton.toolTipText=Press Button to start the game
|
||||
|
||||
highscoreButton.iconName=
|
||||
highscoreButton.label= Highscore
|
||||
highscoreButton.mnemonic=h
|
||||
highscoreButton.toolTipText=Press Button to see the highscore
|
||||
|
||||
directionsButton.iconName=
|
||||
directionsButton.label= Directions
|
||||
directionsButton.mnemonic=o
|
||||
directionsButton.toolTipText=Press Button for more options
|
||||
|
||||
aboutButton.iconName=
|
||||
aboutButton.label= About
|
||||
aboutButton.mnemonic=a
|
||||
aboutButton.toolTipText=Press Button to learn more about the game
|
||||
|
||||
|
||||
|
||||
languageMenu.iconName=
|
||||
languageMenu.label= Language
|
||||
languageMenu.mnemonic=l
|
||||
languageMenu.toolTipText=Choose language here
|
||||
|
||||
deutschItem.iconName=
|
||||
deutschItem.label=Deutsch
|
||||
deutschItem.mnemonic=d
|
||||
deutschItem.toolTipText=WŠhle deutsch
|
||||
|
||||
englishItem.iconName=
|
||||
englishItem.label=English
|
||||
englishItem.mnemonic=e
|
||||
englishItem.toolTipText=Choose English
|
||||
|
||||
//window
|
||||
|
||||
timeLeft = Time Left:
|
||||
|
||||
restart.iconName=
|
||||
restart.label=Restart
|
||||
restart.mnemonic=r
|
||||
restart.toolTipText=Press Button to restart the level
|
||||
|
||||
undo.iconName=
|
||||
undo.label=Undo
|
||||
undo.mnemonic=u
|
||||
undo.toolTipText=Press Button to undo last step
|
||||
|
||||
redo.iconName=
|
||||
redo.label=Redo
|
||||
redo.mnemonic=r
|
||||
redo.toolTipText=Press Button to redo last step
|
||||
|
||||
exit.iconName=
|
||||
exit.label=Exit
|
||||
exit.mnemonic=e
|
||||
exit.toolTipText=Press Button to exit
|
||||
|
||||
theme.iconName=
|
||||
theme.label=Theme
|
||||
theme.mnemonic=t
|
||||
theme.toolTipText=Press Button to choose a different theme
|
||||
|
||||
Wasser.iconName=
|
||||
Wasser.label=Water
|
||||
Wasser.mnemonic=w
|
||||
Wasser.toolTipText=Press Button to start the water flow
|
||||
|
||||
Highscore.iconName=
|
||||
Highscore.label=Highscore
|
||||
Highscore.mnemonic=h
|
||||
Highscore.toolTipText=Show highscore for current level
|
||||
|
||||
gameover = Game over!
|
||||
mastered = You mastered this level!
|
||||
ended = Levelset ended please go to mainmenu and select another one.
|
||||
73
build.xml
Normal file
73
build.xml
Normal file
@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- You may freely edit this file. See commented blocks below for -->
|
||||
<!-- some examples of how to customize the build. -->
|
||||
<!-- (If you delete it and reopen the project it will be recreated.) -->
|
||||
<!-- By default, only the Clean and Build commands use this build script. -->
|
||||
<!-- Commands such as Run, Debug, and Test only use this build script if -->
|
||||
<!-- the Compile on Save feature is turned off for the project. -->
|
||||
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
|
||||
<!-- in the project's Project Properties dialog box.-->
|
||||
<project name="Plumber" default="default" basedir=".">
|
||||
<description>Builds, tests, and runs the project Plumber.</description>
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
<!--
|
||||
|
||||
There exist several targets which are by default empty and which can be
|
||||
used for execution of your tasks. These targets are usually executed
|
||||
before and after some main targets. They are:
|
||||
|
||||
-pre-init: called before initialization of project properties
|
||||
-post-init: called after initialization of project properties
|
||||
-pre-compile: called before javac compilation
|
||||
-post-compile: called after javac compilation
|
||||
-pre-compile-single: called before javac compilation of single file
|
||||
-post-compile-single: called after javac compilation of single file
|
||||
-pre-compile-test: called before javac compilation of JUnit tests
|
||||
-post-compile-test: called after javac compilation of JUnit tests
|
||||
-pre-compile-test-single: called before javac compilation of single JUnit test
|
||||
-post-compile-test-single: called after javac compilation of single JUunit test
|
||||
-pre-jar: called before JAR building
|
||||
-post-jar: called after JAR building
|
||||
-post-clean: called after cleaning build products
|
||||
|
||||
(Targets beginning with '-' are not intended to be called on their own.)
|
||||
|
||||
Example of inserting an obfuscator after compilation could look like this:
|
||||
|
||||
<target name="-post-compile">
|
||||
<obfuscate>
|
||||
<fileset dir="${build.classes.dir}"/>
|
||||
</obfuscate>
|
||||
</target>
|
||||
|
||||
For list of available properties check the imported
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
|
||||
Another way to customize the build is by overriding existing main targets.
|
||||
The targets of interest are:
|
||||
|
||||
-init-macrodef-javac: defines macro for javac compilation
|
||||
-init-macrodef-junit: defines macro for junit execution
|
||||
-init-macrodef-debug: defines macro for class debugging
|
||||
-init-macrodef-java: defines macro for class execution
|
||||
-do-jar: JAR building
|
||||
run: execution of project
|
||||
-javadoc-build: Javadoc generation
|
||||
test-report: JUnit report generation
|
||||
|
||||
An example of overriding the target for project execution could look like this:
|
||||
|
||||
<target name="run" depends="Plumber-impl.jar">
|
||||
<exec dir="bin" executable="launcher.exe">
|
||||
<arg file="${dist.jar}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
Notice that the overridden target depends on the jar target and not only on
|
||||
the compile target as the regular run target does. Again, for a list of available
|
||||
properties which you can use, check the target you are overriding in the
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
-->
|
||||
</project>
|
||||
4
build/built-jar.properties
Normal file
4
build/built-jar.properties
Normal file
@ -0,0 +1,4 @@
|
||||
#Fri, 26 Feb 2016 07:51:32 +0100
|
||||
|
||||
|
||||
D\:\\sources\\webcraft\\java\\Plumber=
|
||||
0
build/classes/.netbeans_automatic_build
Normal file
0
build/classes/.netbeans_automatic_build
Normal file
0
build/classes/.netbeans_update_resources
Normal file
0
build/classes/.netbeans_update_resources
Normal file
BIN
build/classes/de/tu_darmstadt/gdi1/plumber/Plumber.class
Normal file
BIN
build/classes/de/tu_darmstadt/gdi1/plumber/Plumber.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/classes/de/tu_darmstadt/gdi1/plumber/model/Model.class
Normal file
BIN
build/classes/de/tu_darmstadt/gdi1/plumber/model/Model.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
build/classes/de/tu_darmstadt/gdi1/plumber/view/game/Panel.class
Normal file
BIN
build/classes/de/tu_darmstadt/gdi1/plumber/view/game/Panel.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user