How speedcuberjuliojorge-source/invasiongalactica works
This is a Java arcade game: the player starts the game, then plays a shooter with a hero ship, hostile ships, projectiles, scoring and lives. InvasionGalactica is the entry point for Juego; the game manager sets up the input context and game objects, while gameplay entities move, fire and handle collisions. The graphic base supplies shared sprite and position state, and the background handles screens and HUD text. Several gameplay classes are indexed but not excerpted, so their connections to the manager are shown as unverified rather than inferred as definite calls.
Main entry points: Entrada.java Input context · Juego.java Game manager · NaveEnemiga.java Enemy base · Heroe.java Hero ship
Components 14
Game runtime
- Game entry
InvasionGalactica.java - Game manager
Juego.java
Ships and combat
- Hero ship
Heroe.java - Destroyer
Destructor.java - Bird enemy
AveDePresa.java - Mine layer
LanzaMinas.java - Panacea ship
PanaceaOrbital.java - Enemy base
NaveEnemiga.java - Rebel ship
NaveRebelde.java - Projectiles
Bala.java
Graphics and screens
- Graphic elements
ElementoGrafico.java - Background and HUD
Fondo.java
Gameplay state
- Input context
Entrada.java
Other components
- Player
Connections 19
- Player → Game entry: starts
- Game entry → Game manager: launches
InvasionGalactica.java - Game manager → Input context: creates
Juego.java - Game manager → Hero ship: creates
Juego.java - Game manager → Background and HUD: creates
Juego.java - Game manager → Graphic elements: draws sprites
Juego.java - Hero ship → Input context: reads input
Heroe.java - Hero ship → Projectiles: moves and fires
Bala.java - Destroyer → Enemy base: inherits
Destructor.java - Bird enemy → Enemy base: inherits
AveDePresa.java - Mine layer → Enemy base: inherits
LanzaMinas.java - Panacea ship → Enemy base: inherits
PanaceaOrbital.java - Enemy base → Projectiles: fires and collides
NaveEnemiga.java - Bird enemy → Input context: checks collisions
AveDePresa.java - Mine layer → Input context: checks collisions
LanzaMinas.java - Panacea ship → Input context: moves through
PanaceaOrbital.java - Graphic elements → Input context: accepts game input
ElementoGrafico.java - Background and HUD → Input context: reads HUD state
Fondo.java - Rebel ship → Input context: moves and fires
NaveRebelde.java