Rename TimingThread to TimedThread.
This commit is contained in:
parent
b132fac7b0
commit
95dee0b409
|
@ -7,7 +7,7 @@ import de.teamteamteam.spacescooter.gui.GameFrame;
|
||||||
/**
|
/**
|
||||||
* This thread triggers about 60 redraws per second.
|
* This thread triggers about 60 redraws per second.
|
||||||
*/
|
*/
|
||||||
public class PaintThread extends TimingThread {
|
public class PaintThread extends TimedThread {
|
||||||
|
|
||||||
private GameFrame gf;
|
private GameFrame gf;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package de.teamteamteam.spacescooter.threads;
|
package de.teamteamteam.spacescooter.threads;
|
||||||
|
|
||||||
public abstract class TimingThread extends Thread {
|
public abstract class TimedThread extends Thread {
|
||||||
|
|
||||||
private long workInterval;
|
private long workInterval;
|
||||||
|
|
|
@ -5,7 +5,7 @@ import java.util.Iterator;
|
||||||
import de.teamteamteam.spacescooter.background.Background;
|
import de.teamteamteam.spacescooter.background.Background;
|
||||||
import de.teamteamteam.spacescooter.entities.Entity;
|
import de.teamteamteam.spacescooter.entities.Entity;
|
||||||
|
|
||||||
public class UpdateThread extends TimingThread {
|
public class UpdateThread extends TimedThread {
|
||||||
|
|
||||||
public UpdateThread() {
|
public UpdateThread() {
|
||||||
this.setName("UpdateThread");
|
this.setName("UpdateThread");
|
||||||
|
|
Loading…
Reference in New Issue