Skip to content

Commit

Permalink
Introduce working starfield
Browse files Browse the repository at this point in the history
  • Loading branch information
finneyj committed Feb 28, 2024
1 parent 1ba931f commit c52b1f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ public static void main(String[] args)
{
GameArena arena = new GameArena(500,400);

StarField f = new StarField(150, 3, arena);
BigSpaceShip ship = new BigSpaceShip(100, 100, arena, 10);

while(true)
{
f.move();
arena.pause();
}
}
Expand Down

0 comments on commit c52b1f4

Please sign in to comment.