Removed/commented out unecessary print messages #story[1188]

main
Fan-Wu Yang 8 years ago
parent 4c52673fc1
commit 1b946b6807

@ -67,7 +67,6 @@ public class NetworkInterface {
HostedGamesRequestEncoder encoder = new HostedGamesRequestEncoder();
try {
byte[] message = encoder.encode(new HostGamesRequest(games));
System.out.println(LocalDateTime.now() + ": Sending " + games.size() + " game/s");
for(ClientAddress address: clientsAddresses) {
serverSocket.send(new DatagramPacket(message, message.length, InetAddress.getByName(address.getIp()), 4941));
}
@ -86,7 +85,6 @@ public class NetworkInterface {
scheduler.scheduleAtFixedRate(new TimerTask() {
@Override
public void run() {
System.out.println("flush");
matchTable.getMatchTable().clear();
}
}, period, period);

@ -305,15 +305,15 @@ public class InGameLobbyController extends Controller {
* Start button pressed. Currently only prints out start
*/
public void startBtnPressed(){
System.out.println("Should start the race. This button is only visible for the host");
//System.out.println("Should start the race. This button is only visible for the host");
}
public void joinSpecPressed(){
System.out.println("Spectator list pressed. Joining spectators");
//System.out.println("Spectator list pressed. Joining spectators");
}
public void joinRacePressed(){
System.out.println("Empty race user pane pressed. Joining racers");
//System.out.println("Empty race user pane pressed. Joining racers");
}
/**

@ -92,7 +92,6 @@ public class Plane3D extends TriangleMesh{
float x = this.getPoints().get(i);
float y = this.getPoints().get(i + 1);
float z = this.getPoints().get(i + 2);
System.out.println(String.format("Point at %d is x:%f, y:%f, z:%f", index, x, y, z));
}
/**

Loading…
Cancel
Save