diff options
author | Damien Appert <dappert> | 2010-09-12 10:38:09 +0000 |
---|---|---|
committer | Damien Appert <dappert> | 2010-09-12 10:38:09 +0000 |
commit | 6c63104925067616f97d009eccf1ed56cab37d96 (patch) | |
tree | 090a36ec0b85167a65e1f51ddc4778aa18561c4f /jeu-test/Lemmini/0.84/src/Game/LevelInfo.java | |
parent | 78da285c0890e5d60d10f21c5bbcb8f12a4b0575 (diff) | |
download | 2010-netlemmings-6c63104925067616f97d009eccf1ed56cab37d96.tar.gz 2010-netlemmings-6c63104925067616f97d009eccf1ed56cab37d96.tar.bz2 2010-netlemmings-6c63104925067616f97d009eccf1ed56cab37d96.zip |
Moteur Lemming en Java
git-svn-id: file:///var/svn/2010-netlemmings/trunk@14 077b3477-7977-48bd-8428-443f22f7bfda
Diffstat (limited to 'jeu-test/Lemmini/0.84/src/Game/LevelInfo.java')
-rw-r--r-- | jeu-test/Lemmini/0.84/src/Game/LevelInfo.java | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/jeu-test/Lemmini/0.84/src/Game/LevelInfo.java b/jeu-test/Lemmini/0.84/src/Game/LevelInfo.java new file mode 100644 index 0000000..6cc1d5d --- /dev/null +++ b/jeu-test/Lemmini/0.84/src/Game/LevelInfo.java @@ -0,0 +1,79 @@ +package Game;
+
+/*
+ * Copyright 2009 Volker Oth
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Storage class to store level info.
+ *
+ * @author Volker Oth
+ */
+public class LevelInfo {
+ /** level name */
+ private String name;
+ /** name of music for this level */
+ private String music;
+ /** file name of the INI file containing the level information */
+ private String fileName;
+
+ /**
+ * Set the file name
+ * @param fileName file name
+ */
+ public void setFileName(final String fileName) {
+ this.fileName = fileName;
+ }
+
+ /**
+ * Get the file name.
+ * @return file name
+ */
+ public String getFileName() {
+ return fileName;
+ }
+
+ /**
+ * Set name of music.
+ * @param music name of music
+ */
+ public void setMusic(final String music) {
+ this.music = music;
+ }
+
+ /**
+ * Get name of music.
+ * @return name of music.
+ */
+ public String getMusic() {
+ return music;
+ }
+
+ /**
+ * Set level name.
+ * @param name level name
+ */
+ public void setName(final String name) {
+ this.name = name;
+ }
+
+ /**
+ * Get level name.
+ * @return level name
+ */
+ public String getName() {
+ return name;
+ }
+}
|