Project folder: PlanetHopper/
Brief description of submitted files:
src/celestial/Celestial.java
- An object of class Celestial has 4 members, coordinate, color, name, radius.
- It has a default and a 4 parameter constructor, and getters and setters.
- It has a draw method to draw the celestial body on GUI.
src/celestial/Planet.java
- An object of a Planet class inherits from Celestial.
- Three additional members, distanceToSun, periodInMS, angleToSun.
src/celestial/Starfield.java
- Creates stars in the game background.
src/information/Information.java
- Process and store celestial bodies' information.
src/information/SidePanel.java
- GUI side panel.
src/main/Main.java
- Main class that initializes game panes.
src/menu/MainMenu.java
- Button version of the menu.
src/menu/Menu.java
- Overlay version of the menu.
src/physics/Constants.java
- Contains constants for use in calculations.
src/physics/Physics.java
- Methods to calculate planet coordinates, and ship coordinates, momentum, and collisions.
src/ship/Arrow.java
- Arrow to indicate ship angle/thrust.
src/ship/Ship.java
- The ship class contains data used for physics calculations on itself, and methods to manipulate that data.
src/update/GameObjectives.java
- Store data on and control game objectives.
src/update/Target.java
- Draws a target marker indicating the objective.
src/update/Update.java
- An update object contains all dynamic graphical elements.
- It contains a paintComponent method necessary for GUI.
- The run method updates physical coordinates and GUI elements.
resources/planets
- Pictures of all planets and the sun.
resources/info.xml
- Data about each planet displayed in-game.
resources/Run.jpg
- Running screenshot.
resources/Screen Recording.mp4
- Video recording of gameplay.
resources/Target.png
- Image for target marker indicating objective.
resources/UML Diagram.png
- UML Diagram of significant classes in Planet Hopper.
image/PlanetHopper.jpg
- Planet Hopper mock up.
Project1Proposal.md
- Project proposal of Planet Hopper.
README.md
- Overview of all submitted files.