Skip to content

Commit

Permalink
Changes in preparation for replacing String buffer with byte stream
Browse files Browse the repository at this point in the history
  • Loading branch information
mm44928 authored and mm44928 committed May 11, 2017
1 parent a51b9ff commit 8f111af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/application/AppManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
public class AppManager{
private static AppManager currentAppManager;
private static SnakeManager currentSnakeManager;
//private static GUIController controller = new GUIController();
private AppManager(){
}
private void init(){
Expand Down
4 changes: 2 additions & 2 deletions src/application/ServerBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import java.util.ArrayList;

public class ServerBridge{
public static final int END = 249, ARENA_CONFIG = 250, ARENA_DISPLAY = 251, CLOSE = 252,
SNAKE_CONFIG = 253, REQUEST_SNAKE = 254, KILL_SNAKE = 255;
public static final byte END = 121, ARENA_CONFIG = 122, ARENA_DISPLAY = 123, CLOSE = 124,
SNAKE_CONFIG = 125, REQUEST_SNAKE = 126, KILL_SNAKE = 127;
Socket echoSocket;
PrintWriter out;
BufferedReader in;
Expand Down

0 comments on commit 8f111af

Please sign in to comment.