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:
Jan Philipp Timme 2014-11-07 20:23:06 +01:00
parent d4a19e76e0
commit 3c5e96791b
5 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
package de.teamteamteam.spacescooter.gui;
package de.teamteamteam.spacescooter;
import java.awt.Graphics2D;
import java.awt.Toolkit;

View File

@ -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;

View File

@ -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 {

View File

@ -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.

View File

@ -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.