Skip to content
Snippets Groups Projects
Commit 433b78c6 authored by Elrabu's avatar Elrabu
Browse files

Update: ConnectionHandler.java Added Getter for the PlayerX and PlayerY Variable

parent 182c019f
No related branches found
No related tags found
1 merge request!35Update: Added more Stuff to be transported over the server.
...@@ -5,6 +5,17 @@ import org.apache.logging.log4j.LogManager; ...@@ -5,6 +5,17 @@ import org.apache.logging.log4j.LogManager;
public class ConnectionHandler { public class ConnectionHandler {
private int playerX;
private int playerY;
private static final Logger log = LogManager.getLogger(ConnectionHandler.class); private static final Logger log = LogManager.getLogger(ConnectionHandler.class);
public int getPlayerX() {
return playerX;
}
public int getPlayerY() {
return playerY;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment