Skip to content

Commit 7a7524d

Browse files
author
SBester001
committed
new version (1.2.0)
1 parent b4ea09f commit 7a7524d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Game.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
@SuppressWarnings("serial")
2626
public class Game extends JFrame {
27-
public static String version = "1.1.0";
27+
public static String version = "1.2.0";
2828

2929
public static Game game;
3030

@@ -182,7 +182,9 @@ private void start(Graphics g){
182182
while(go && !exitEasterEgg){
183183
move(g, speedx, speedy);
184184
try {
185-
Thread.sleep(20); //todo 20
185+
Thread.sleep(20); //just for testing:
186+
/*Thread.sleep(2);
187+
test = true;*/
186188
} catch (InterruptedException e) {
187189
e.printStackTrace();
188190
}
@@ -257,8 +259,6 @@ void move(Graphics g, int speedx, int speedy){
257259
}
258260

259261
void clear(Graphics g){
260-
//g.clearRect(posx, posy, sizex+bsize, sizey+bsize);
261-
//g.clearRect(0, bary, sizex+(posx*2), barSizey);
262262
Image subImg = background.getSubimage(0, bary, sizex+(posx*2), barSizey);
263263
g.drawImage(subImg, 0, bary, sizex+(posx*2), barSizey, null); //clear bar
264264

0 commit comments

Comments
 (0)