diff --git a/src/de/teamteamteam/spacescooter/sound/SoundSystem.java b/src/de/teamteamteam/spacescooter/sound/SoundSystem.java index 470798c..34c8141 100644 --- a/src/de/teamteamteam/spacescooter/sound/SoundSystem.java +++ b/src/de/teamteamteam/spacescooter/sound/SoundSystem.java @@ -21,6 +21,12 @@ public class SoundSystem { private static SourceDataLine sourceDataLine = null; + /** + * Private constructor, this class will never be instantiated. + */ + private SoundSystem() {} + + /** * Get mixer info and return available sound cards. */ diff --git a/src/de/teamteamteam/spacescooter/utility/CodeEnvironment.java b/src/de/teamteamteam/spacescooter/utility/CodeEnvironment.java index ad7f39e..aa1bcad 100644 --- a/src/de/teamteamteam/spacescooter/utility/CodeEnvironment.java +++ b/src/de/teamteamteam/spacescooter/utility/CodeEnvironment.java @@ -11,6 +11,12 @@ import java.util.zip.ZipInputStream; public class CodeEnvironment { + /** + * Private constructor, this class will never be instantiated. + */ + private CodeEnvironment() {} + + /** * Returns true if the program is run out of a jar. */ diff --git a/src/de/teamteamteam/spacescooter/utility/GameConfig.java b/src/de/teamteamteam/spacescooter/utility/GameConfig.java index f2a1cbc..8cb1245 100644 --- a/src/de/teamteamteam/spacescooter/utility/GameConfig.java +++ b/src/de/teamteamteam/spacescooter/utility/GameConfig.java @@ -7,4 +7,10 @@ public class GameConfig { public static int windowWidth; public static int windowHeight; + + /** + * Private constructor, this class will never be instantiated. + */ + private GameConfig() {} + } diff --git a/src/de/teamteamteam/spacescooter/utility/Loader.java b/src/de/teamteamteam/spacescooter/utility/Loader.java index 6e380ba..a1c5f7a 100644 --- a/src/de/teamteamteam/spacescooter/utility/Loader.java +++ b/src/de/teamteamteam/spacescooter/utility/Loader.java @@ -17,6 +17,12 @@ public class Loader { Loader.images = new Hashtable(); } + + /** + * Private constructor, this class will never be instantiated. + */ + private Loader() {} + /** * Return the loaded BufferedImage by its filename.