Move GameFrame to root package, healthbar to gui package.
The Gui Package shall contain all elements that we create and use in our game that are actual gui elements like menu buttons, health bars, highscore stuff and more.
This commit is contained in:
parent
d4a19e76e0
commit
3c5e96791b
|
@ -1,4 +1,4 @@
|
|||
package de.teamteamteam.spacescooter.gui;
|
||||
package de.teamteamteam.spacescooter;
|
||||
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Toolkit;
|
|
@ -2,7 +2,6 @@ package de.teamteamteam.spacescooter;
|
|||
|
||||
import java.awt.EventQueue;
|
||||
|
||||
import de.teamteamteam.spacescooter.gui.GameFrame;
|
||||
import de.teamteamteam.spacescooter.screen.LoadingScreen;
|
||||
import de.teamteamteam.spacescooter.screen.Screen;
|
||||
import de.teamteamteam.spacescooter.screen.SuperScreen;
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
package de.teamteamteam.spacescooter.entity;
|
||||
package de.teamteamteam.spacescooter.gui;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics2D;
|
||||
import java.util.List;
|
||||
|
||||
import de.teamteamteam.spacescooter.entity.Entity;
|
||||
import de.teamteamteam.spacescooter.entity.Player;
|
||||
import de.teamteamteam.spacescooter.screen.Screen;
|
||||
|
||||
public class HealthBar extends Entity {
|
|
@ -10,11 +10,11 @@ import java.util.List;
|
|||
import de.teamteamteam.spacescooter.background.StarBackground;
|
||||
import de.teamteamteam.spacescooter.control.Keyboard;
|
||||
import de.teamteamteam.spacescooter.entity.Entity;
|
||||
import de.teamteamteam.spacescooter.entity.HealthBar;
|
||||
import de.teamteamteam.spacescooter.entity.Player;
|
||||
import de.teamteamteam.spacescooter.entity.enemy.EnemyFour;
|
||||
import de.teamteamteam.spacescooter.entity.enemy.EnemyThree;
|
||||
import de.teamteamteam.spacescooter.entity.item.ItemChance;
|
||||
import de.teamteamteam.spacescooter.gui.HealthBar;
|
||||
|
||||
/**
|
||||
* In this GameScreen, the actual gameplay takes place.
|
||||
|
|
|
@ -2,7 +2,7 @@ package de.teamteamteam.spacescooter.thread;
|
|||
|
||||
import java.awt.EventQueue;
|
||||
|
||||
import de.teamteamteam.spacescooter.gui.GameFrame;
|
||||
import de.teamteamteam.spacescooter.GameFrame;
|
||||
|
||||
/**
|
||||
* This thread triggers the redrawing on the GameFrame.
|
||||
|
|
Loading…
Reference in New Issue