Packages haben nun grundsätzlich singulare Namen.
This commit is contained in:
parent
3e7d54902f
commit
dde94437fc
|
@ -3,12 +3,12 @@ package de.teamteamteam.spacescooter;
|
|||
import java.awt.EventQueue;
|
||||
|
||||
import de.teamteamteam.spacescooter.background.StarBackground;
|
||||
import de.teamteamteam.spacescooter.entities.Player;
|
||||
import de.teamteamteam.spacescooter.entities.TestEntity;
|
||||
import de.teamteamteam.spacescooter.entity.Player;
|
||||
import de.teamteamteam.spacescooter.entity.TestEntity;
|
||||
import de.teamteamteam.spacescooter.gui.GameFrame;
|
||||
import de.teamteamteam.spacescooter.threads.PaintThread;
|
||||
import de.teamteamteam.spacescooter.threads.UpdateThread;
|
||||
import de.teamteamteam.spacescooter.utilities.GraphicsSettings;
|
||||
import de.teamteamteam.spacescooter.thread.PaintThread;
|
||||
import de.teamteamteam.spacescooter.thread.UpdateThread;
|
||||
import de.teamteamteam.spacescooter.utility.GraphicsSettings;
|
||||
|
||||
/**
|
||||
* Nothing but a class containing the main method.
|
||||
|
|
|
@ -2,7 +2,7 @@ package de.teamteamteam.spacescooter.background;
|
|||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import de.teamteamteam.spacescooter.entities.Entity;
|
||||
import de.teamteamteam.spacescooter.entity.Entity;
|
||||
|
||||
public abstract class Background extends Entity {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.io.IOException;
|
|||
|
||||
import javax.imageio.ImageIO;
|
||||
|
||||
import de.teamteamteam.spacescooter.entities.Player;
|
||||
import de.teamteamteam.spacescooter.entity.Player;
|
||||
|
||||
|
||||
public class StarBackground extends Background {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.controls;
|
||||
package de.teamteamteam.spacescooter.control;
|
||||
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.KeyListener;
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.entities;
|
||||
package de.teamteamteam.spacescooter.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.entities;
|
||||
package de.teamteamteam.spacescooter.entity;
|
||||
|
||||
import java.awt.Graphics;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.entities;
|
||||
package de.teamteamteam.spacescooter.entity;
|
||||
|
||||
import java.awt.Graphics;
|
||||
import java.awt.event.KeyEvent;
|
||||
|
@ -7,7 +7,7 @@ import java.io.IOException;
|
|||
|
||||
import javax.imageio.ImageIO;
|
||||
|
||||
import de.teamteamteam.spacescooter.controls.Keyboard;
|
||||
import de.teamteamteam.spacescooter.control.Keyboard;
|
||||
|
||||
public class Player extends Entity {
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package de.teamteamteam.spacescooter.entities;
|
||||
package de.teamteamteam.spacescooter.entity;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.event.KeyEvent;
|
||||
|
||||
import de.teamteamteam.spacescooter.controls.Keyboard;
|
||||
import de.teamteamteam.spacescooter.control.Keyboard;
|
||||
|
||||
public class TestEntity extends Entity {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.entities;
|
||||
package de.teamteamteam.spacescooter.entity;
|
||||
|
||||
public interface Updateable {
|
||||
|
|
@ -8,8 +8,8 @@ import java.util.Iterator;
|
|||
import javax.swing.JFrame;
|
||||
|
||||
import de.teamteamteam.spacescooter.background.Background;
|
||||
import de.teamteamteam.spacescooter.controls.Keyboard;
|
||||
import de.teamteamteam.spacescooter.entities.Entity;
|
||||
import de.teamteamteam.spacescooter.control.Keyboard;
|
||||
import de.teamteamteam.spacescooter.entity.Entity;
|
||||
|
||||
/**
|
||||
* The game will take place in this beautiful window.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.threads;
|
||||
package de.teamteamteam.spacescooter.thread;
|
||||
|
||||
import java.awt.EventQueue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.threads;
|
||||
package de.teamteamteam.spacescooter.thread;
|
||||
|
||||
public abstract class TimedThread extends Thread {
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package de.teamteamteam.spacescooter.threads;
|
||||
package de.teamteamteam.spacescooter.thread;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import de.teamteamteam.spacescooter.background.Background;
|
||||
import de.teamteamteam.spacescooter.entities.Entity;
|
||||
import de.teamteamteam.spacescooter.entity.Entity;
|
||||
|
||||
public class UpdateThread extends TimedThread {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.utilities;
|
||||
package de.teamteamteam.spacescooter.utility;
|
||||
|
||||
import java.awt.DisplayMode;
|
||||
import java.awt.GraphicsDevice;
|
Loading…
Reference in New Issue