diff --git a/src/de/teamteamteam/spacescooter/threads/PaintThread.java b/src/de/teamteamteam/spacescooter/threads/PaintThread.java index 0bded86..5d27d2d 100644 --- a/src/de/teamteamteam/spacescooter/threads/PaintThread.java +++ b/src/de/teamteamteam/spacescooter/threads/PaintThread.java @@ -7,7 +7,7 @@ import de.teamteamteam.spacescooter.gui.GameFrame; /** * This thread triggers about 60 redraws per second. */ -public class PaintThread extends TimingThread { +public class PaintThread extends TimedThread { private GameFrame gf; diff --git a/src/de/teamteamteam/spacescooter/threads/TimingThread.java b/src/de/teamteamteam/spacescooter/threads/TimedThread.java similarity index 96% rename from src/de/teamteamteam/spacescooter/threads/TimingThread.java rename to src/de/teamteamteam/spacescooter/threads/TimedThread.java index 93c7302..f5bef8a 100644 --- a/src/de/teamteamteam/spacescooter/threads/TimingThread.java +++ b/src/de/teamteamteam/spacescooter/threads/TimedThread.java @@ -1,6 +1,6 @@ package de.teamteamteam.spacescooter.threads; -public abstract class TimingThread extends Thread { +public abstract class TimedThread extends Thread { private long workInterval; diff --git a/src/de/teamteamteam/spacescooter/threads/UpdateThread.java b/src/de/teamteamteam/spacescooter/threads/UpdateThread.java index 744dd54..385d43a 100644 --- a/src/de/teamteamteam/spacescooter/threads/UpdateThread.java +++ b/src/de/teamteamteam/spacescooter/threads/UpdateThread.java @@ -5,7 +5,7 @@ import java.util.Iterator; import de.teamteamteam.spacescooter.background.Background; import de.teamteamteam.spacescooter.entities.Entity; -public class UpdateThread extends TimingThread { +public class UpdateThread extends TimedThread { public UpdateThread() { this.setName("UpdateThread");