Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmaxfrank committed Jan 16, 2016
1 parent e40359b commit d525832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/brindyblitz/artemis/ClientMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ public static void main(String[] args) throws IOException {

public ClientMain() {
EngineeringConsoleManager engineeringConsoleManager = new FakeEngineeringConsoleManager();
buildUIFrame(engineeringConsoleManager, new Damcon().getCanvas());
buildUIFrame(engineeringConsoleManager, new Damcon(engineeringConsoleManager).getCanvas());
}

public ClientMain(String host, int port) throws IOException {
WorldAwareRobustProxyListener worldAwareRobustProxyListener = new WorldAwareRobustProxyListener(host, port, port);
EngineeringConsoleManager engineeringConsoleManager = new RealEngineeringConsoleManager(worldAwareRobustProxyListener);
buildUIFrame(engineeringConsoleManager, new Damcon().getCanvas());
buildUIFrame(engineeringConsoleManager, new Damcon(engineeringConsoleManager).getCanvas());
}

private static void buildUIFrame(EngineeringConsoleManager engineeringConsoleManager, Canvas3D damcon_canvas) {
Expand Down

0 comments on commit d525832

Please sign in to comment.