Skip to content
Snippets Groups Projects
Commit 41f853e5 authored by Ho Dac Hai's avatar Ho Dac Hai
Browse files

Replace User.java

parent a5bc4cdd
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,10 @@ import remote.IDrawingUpdate;
public class User
{
private String username;
private remote.IChatUpdate IChatUpdate;
private remote.IDrawingUpdate IDrawingUpdate;
private remote.IClientUpdate IClientUpdate;
private IChatUpdate IChatUpdate;
private IDrawingUpdate IDrawingUpdate;
private IClientUpdate IClientUpdate;
private boolean isAdmin;
public User(String username, remote.IChatUpdate IChatUpdate, remote.IClientUpdate IClientUpdate, remote.IDrawingUpdate IDrawingUpdate)
public User(String username, IChatUpdate IChatUpdate, IClientUpdate IClientUpdate, IDrawingUpdate IDrawingUpdate)
{
......@@ -42,11 +41,7 @@ public class User
return this.IChatUpdate;
}
public remote.IClientUpdate getIClientUpdate()
{
return this.IClientUpdate;
}
public remote.IDrawingUpdate getIDrawingUpdate() { return this.IDrawingUpdate; }
public IDrawingUpdate getIDrawingUpdate() { return this.IDrawingUpdate; }
public IClientUpdate getIClientUpdate() { return this.IClientUpdate; }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment