From 95dee0b409bca619549ae708161f5d40faafce87 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sun, 26 Oct 2014 11:26:55 +0100 Subject: [PATCH] Rename TimingThread to TimedThread. --- src/de/teamteamteam/spacescooter/threads/PaintThread.java | 2 +- .../threads/{TimingThread.java => TimedThread.java} | 2 +- src/de/teamteamteam/spacescooter/threads/UpdateThread.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/de/teamteamteam/spacescooter/threads/{TimingThread.java => TimedThread.java} (96%) 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");