Removed/commented out unecessary print messages #story[1188]
This commit is contained in:
@@ -67,7 +67,6 @@ public class NetworkInterface {
|
|||||||
HostedGamesRequestEncoder encoder = new HostedGamesRequestEncoder();
|
HostedGamesRequestEncoder encoder = new HostedGamesRequestEncoder();
|
||||||
try {
|
try {
|
||||||
byte[] message = encoder.encode(new HostGamesRequest(games));
|
byte[] message = encoder.encode(new HostGamesRequest(games));
|
||||||
System.out.println(LocalDateTime.now() + ": Sending " + games.size() + " game/s");
|
|
||||||
for(ClientAddress address: clientsAddresses) {
|
for(ClientAddress address: clientsAddresses) {
|
||||||
serverSocket.send(new DatagramPacket(message, message.length, InetAddress.getByName(address.getIp()), 4941));
|
serverSocket.send(new DatagramPacket(message, message.length, InetAddress.getByName(address.getIp()), 4941));
|
||||||
}
|
}
|
||||||
@@ -86,7 +85,6 @@ public class NetworkInterface {
|
|||||||
scheduler.scheduleAtFixedRate(new TimerTask() {
|
scheduler.scheduleAtFixedRate(new TimerTask() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
System.out.println("flush");
|
|
||||||
matchTable.getMatchTable().clear();
|
matchTable.getMatchTable().clear();
|
||||||
}
|
}
|
||||||
}, period, period);
|
}, period, period);
|
||||||
|
|||||||
@@ -305,15 +305,15 @@ public class InGameLobbyController extends Controller {
|
|||||||
* Start button pressed. Currently only prints out start
|
* Start button pressed. Currently only prints out start
|
||||||
*/
|
*/
|
||||||
public void startBtnPressed(){
|
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(){
|
public void joinSpecPressed(){
|
||||||
System.out.println("Spectator list pressed. Joining spectators");
|
//System.out.println("Spectator list pressed. Joining spectators");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void joinRacePressed(){
|
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 x = this.getPoints().get(i);
|
||||||
float y = this.getPoints().get(i + 1);
|
float y = this.getPoints().get(i + 1);
|
||||||
float z = this.getPoints().get(i + 2);
|
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));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user