-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to improve component re-usability and remove redundant parts (…
…#37)
- Loading branch information
Showing
39 changed files
with
610 additions
and
1,015 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 0 additions & 99 deletions
99
src/main/java/com/leflat/jass/client/ArtificialClient.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
src/main/java/com/leflat/jass/client/ClientNetworkFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.leflat.jass.client; | ||
|
||
public class ConnectionInfo { | ||
public String name; | ||
public String hostname; | ||
public int nbrArtificialPlayers; | ||
public int gameNumber; | ||
public boolean joinExistingGame = true; | ||
public boolean ok = true; | ||
public boolean local = false; | ||
|
||
public ConnectionInfo(boolean ok) { | ||
this.ok = ok; | ||
} | ||
|
||
public ConnectionInfo(String name) { | ||
this.name = name; | ||
this.local = true; | ||
} | ||
|
||
public ConnectionInfo(String name, String hostname, boolean joinExistingGame, int gameNumber, int nbrArtificialPlayers) { | ||
this.name = name; | ||
this.hostname = hostname; | ||
this.joinExistingGame = joinExistingGame; | ||
this.gameNumber = gameNumber; | ||
this.nbrArtificialPlayers = nbrArtificialPlayers; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.