package server;
import java.net.InetAddress;


public class Player {
	int x, y, lives; 
	char playerNumber;
	InetAddress IP;

	Player(int x,int y,char num,InetAddress IP){
		this.x = x;
		this.y = y;
		playerNumber = num;
		this.IP = IP;
	}
	
	public char getPlayerNum(){
		return playerNumber;
	}
	public int getYPosition(){
		return y;
	}
	public int getXPosition(){
		return x;
	}
	public int getHP(){
		return lives;
	}
	public InetAddress getIPAddress(){
		return IP;
	}
}

@@ -68,16 +68,24 @@
 yer %7B%0D%0A%09
+private 
 int x, y
@@ -96,16 +96,24 @@
 ves; %0D%0A%09
+private 
 char pla
@@ -125,16 +125,24 @@
 mber;%0D%0A%09
+private 
 InetAddr
@@ -524,11 +524,241 @@
 P;%0D%0A%09%7D%0D%0A
+%09public void setX(int x)%7B%0D%0A%09%09this.x=x;%0D%0A%09%7D%0D%0A%09public void setY(int y)%7B%0D%0A%09%09this.y=y;%0D%0A%09%7D%0D%0A%09public void setLives(int lives)%7B%0D%0A%09%09this.lives = lives;%0D%0A%09%7D%0D%0A%09public void setPlayerNumber(char playerNum)%7B%0D%0A%09%09playerNumber = playerNum;%0D%0A%09%7D%0D%0A
 %7D%0D%0A

update player