From 751dad9778da2d959072bddb061adbf3b11946fc Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 16 Dec 2014 12:32:42 +0100 Subject: [PATCH] Move Highscore to brain package. --- .../teamteamteam/spacescooter/{utility => brain}/Highscore.java | 2 +- .../teamteamteam/spacescooter/screen/EnterHighscoreScreen.java | 2 +- src/de/teamteamteam/spacescooter/screen/GameScreen.java | 2 +- .../teamteamteam/spacescooter/screen/ViewHighscoreScreen.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/de/teamteamteam/spacescooter/{utility => brain}/Highscore.java (98%) diff --git a/src/de/teamteamteam/spacescooter/utility/Highscore.java b/src/de/teamteamteam/spacescooter/brain/Highscore.java similarity index 98% rename from src/de/teamteamteam/spacescooter/utility/Highscore.java rename to src/de/teamteamteam/spacescooter/brain/Highscore.java index af18731..07bcc1f 100644 --- a/src/de/teamteamteam/spacescooter/utility/Highscore.java +++ b/src/de/teamteamteam/spacescooter/brain/Highscore.java @@ -1,4 +1,4 @@ -package de.teamteamteam.spacescooter.utility; +package de.teamteamteam.spacescooter.brain; import java.io.File; import java.io.FileInputStream; diff --git a/src/de/teamteamteam/spacescooter/screen/EnterHighscoreScreen.java b/src/de/teamteamteam/spacescooter/screen/EnterHighscoreScreen.java index 390bc69..5ecaa99 100644 --- a/src/de/teamteamteam/spacescooter/screen/EnterHighscoreScreen.java +++ b/src/de/teamteamteam/spacescooter/screen/EnterHighscoreScreen.java @@ -7,10 +7,10 @@ import java.awt.Point; import java.awt.event.KeyEvent; import de.teamteamteam.spacescooter.brain.GameConfig; +import de.teamteamteam.spacescooter.brain.Highscore; import de.teamteamteam.spacescooter.brain.PlayerSession; import de.teamteamteam.spacescooter.control.Keyboard; import de.teamteamteam.spacescooter.gui.ImageEntity; -import de.teamteamteam.spacescooter.utility.Highscore; /** * This is the EnterHighscoreScreen, which is displayed once the player ended diff --git a/src/de/teamteamteam/spacescooter/screen/GameScreen.java b/src/de/teamteamteam/spacescooter/screen/GameScreen.java index e44857a..8a6efc7 100644 --- a/src/de/teamteamteam/spacescooter/screen/GameScreen.java +++ b/src/de/teamteamteam/spacescooter/screen/GameScreen.java @@ -3,6 +3,7 @@ package de.teamteamteam.spacescooter.screen; import java.awt.Graphics2D; import java.awt.event.KeyEvent; +import de.teamteamteam.spacescooter.brain.Highscore; import de.teamteamteam.spacescooter.brain.PlayerSession; import de.teamteamteam.spacescooter.control.Keyboard; import de.teamteamteam.spacescooter.entity.Player; @@ -13,7 +14,6 @@ import de.teamteamteam.spacescooter.gui.SecondaryWeaponAmount; import de.teamteamteam.spacescooter.gui.ShieldBar; import de.teamteamteam.spacescooter.level.Level; import de.teamteamteam.spacescooter.utility.CollisionHandler; -import de.teamteamteam.spacescooter.utility.Highscore; /** * In this GameScreen, the actual gameplay takes place. diff --git a/src/de/teamteamteam/spacescooter/screen/ViewHighscoreScreen.java b/src/de/teamteamteam/spacescooter/screen/ViewHighscoreScreen.java index 1e839e6..e44fbc0 100644 --- a/src/de/teamteamteam/spacescooter/screen/ViewHighscoreScreen.java +++ b/src/de/teamteamteam/spacescooter/screen/ViewHighscoreScreen.java @@ -5,11 +5,11 @@ import java.awt.Font; import java.awt.Graphics2D; import java.awt.event.KeyEvent; import de.teamteamteam.spacescooter.brain.GameConfig; +import de.teamteamteam.spacescooter.brain.Highscore; import de.teamteamteam.spacescooter.brain.PlayerSession; import de.teamteamteam.spacescooter.control.Keyboard; import de.teamteamteam.spacescooter.gui.Button; import de.teamteamteam.spacescooter.gui.ImageEntity; -import de.teamteamteam.spacescooter.utility.Highscore; /** * This one displays the whole HighScore and offers an option to go back to the MainMenu.