Skip to content

Commit 034c2df

Browse files
committed
Fixing build.gradle
1 parent ecc5e32 commit 034c2df

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ dependencies {
2222
testImplementation 'junit:junit:4.12'
2323

2424
// https://mvnrepository.com/artifact/com.google.code.gson/gson
25-
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
25+
compileOnly group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
2626
}
2727

src/main/java/com/apporelbotna/gameserver/pongserver/properties/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=1.0.0
1+
version=1.0.1
22
name=PongServer
33

44
server.ip=localhost

src/main/java/com/apporelbotna/gameserver/pongserver/stubs/model/PongGame.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class PongGame
2020
private Ball ball;
2121

2222
private long beginPlayTime;
23-
private long lastTick; // TODO use instead of Thread.sleep OR SEE TIMER CLASS BETTER :)
23+
// private long lastTick; TODO use instead of Thread.sleep OR SEE TIMER CLASS BETTER :)
2424

2525
private Player winner = null;
2626
private boolean terminateGame;
@@ -31,7 +31,7 @@ public PongGame(Player player1, Player player2)
3131
this.player2 = player2;
3232
ball = new Ball();
3333
beginPlayTime = System.currentTimeMillis();
34-
lastTick = beginPlayTime;
34+
// lastTick = beginPlayTime;
3535
}
3636

3737
public Player getPlayer1()

0 commit comments

Comments
 (0)