From cd19075e7e16946ca4486f57681f6821f64da5a0 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sat, 18 Jul 2020 14:09:25 +0200 Subject: [PATCH] cleanup --- Boid.java => src/Boid.java | 2 ++ ChunkManager.java => src/ChunkManager.java | 2 ++ Display.java => src/Display.java | 2 ++ Drawable.java => src/Drawable.java | 2 ++ DrawableCollection.java => src/DrawableCollection.java | 2 ++ Main.java => src/Main.java | 2 ++ PhysicsObject.java => src/PhysicsObject.java | 2 ++ 7 files changed, 14 insertions(+) rename Boid.java => src/Boid.java (99%) rename ChunkManager.java => src/ChunkManager.java (99%) rename Display.java => src/Display.java (98%) rename Drawable.java => src/Drawable.java (86%) rename DrawableCollection.java => src/DrawableCollection.java (84%) rename Main.java => src/Main.java (98%) rename PhysicsObject.java => src/PhysicsObject.java (98%) diff --git a/Boid.java b/src/Boid.java similarity index 99% rename from Boid.java rename to src/Boid.java index 040e6f2..9f095d6 100644 --- a/Boid.java +++ b/src/Boid.java @@ -1,3 +1,5 @@ +package src; + import java.awt.Graphics; import java.util.ArrayList; import java.util.Random; diff --git a/ChunkManager.java b/src/ChunkManager.java similarity index 99% rename from ChunkManager.java rename to src/ChunkManager.java index cd68d1e..823c07d 100644 --- a/ChunkManager.java +++ b/src/ChunkManager.java @@ -1,3 +1,5 @@ +package src; + import java.util.ArrayList; public class ChunkManager { diff --git a/Display.java b/src/Display.java similarity index 98% rename from Display.java rename to src/Display.java index 23aef23..f61ff70 100644 --- a/Display.java +++ b/src/Display.java @@ -1,3 +1,5 @@ +package src; + import java.awt.Color; import java.awt.Graphics; import java.awt.image.BufferedImage; diff --git a/Drawable.java b/src/Drawable.java similarity index 86% rename from Drawable.java rename to src/Drawable.java index 1238731..b1f0770 100644 --- a/Drawable.java +++ b/src/Drawable.java @@ -1,3 +1,5 @@ +package src; + import java.awt.Graphics; public interface Drawable { diff --git a/DrawableCollection.java b/src/DrawableCollection.java similarity index 84% rename from DrawableCollection.java rename to src/DrawableCollection.java index 63d4e5a..6674450 100644 --- a/DrawableCollection.java +++ b/src/DrawableCollection.java @@ -1,3 +1,5 @@ +package src; + public interface DrawableCollection { public Drawable[] get_drawables(); } diff --git a/Main.java b/src/Main.java similarity index 98% rename from Main.java rename to src/Main.java index 17a3314..27376e5 100644 --- a/Main.java +++ b/src/Main.java @@ -1,3 +1,5 @@ +package src; + import java.util.Timer; import java.util.TimerTask; diff --git a/PhysicsObject.java b/src/PhysicsObject.java similarity index 98% rename from PhysicsObject.java rename to src/PhysicsObject.java index a92eff6..e3db699 100644 --- a/PhysicsObject.java +++ b/src/PhysicsObject.java @@ -1,3 +1,5 @@ +package src; + public class PhysicsObject { public float x; public float y;