-
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.
- Loading branch information
1 parent
7d57be9
commit 42a457b
Showing
6 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
src/main/java/com/broll/networklib/client/impl/DummyLobby.java
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,8 @@ | ||
package com.broll.networklib.client.impl; | ||
|
||
public class DummyLobby extends GameLobby{ | ||
|
||
public DummyLobby(){ | ||
|
||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/com/broll/networklib/client/impl/DummyLobbyPlayer.java
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,11 @@ | ||
package com.broll.networklib.client.impl; | ||
|
||
import com.broll.networklib.client.impl.LobbyPlayer; | ||
|
||
public class DummyLobbyPlayer extends LobbyPlayer { | ||
|
||
|
||
public DummyLobbyPlayer(int id, DummyLobby lobby) { | ||
super(id, lobby); | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/broll/networklib/server/impl/DummyLobbyPlayer.java
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,7 @@ | ||
package com.broll.networklib.server.impl; | ||
|
||
public class DummyLobbyPlayer<P extends ILobbyData> extends LobbyPlayer<P>{ | ||
public DummyLobbyPlayer() { | ||
super(new DummyPlayer<>()); | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/com/broll/networklib/server/impl/DummyPlayer.java
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,19 @@ | ||
package com.broll.networklib.server.impl; | ||
|
||
import com.broll.networklib.server.NetworkConnection; | ||
|
||
public class DummyPlayer<P extends ILobbyData> extends Player<P>{ | ||
public DummyPlayer() { | ||
super(-1, null, null); | ||
} | ||
|
||
@Override | ||
public void sendTCP(Object object) { | ||
|
||
} | ||
|
||
@Override | ||
public void sendUDP(Object object) { | ||
|
||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/broll/networklib/server/impl/DummyServerLobby.java
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,7 @@ | ||
package com.broll.networklib.server.impl; | ||
|
||
public class DummyServerLobby<L extends ILobbyData, P extends ILobbyData> extends ServerLobby<L,P>{ | ||
public DummyServerLobby() { | ||
super(null, null, -1, null); | ||
} | ||
} |
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