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
2 merge requests!25Master,!24Master
...@@ -7,11 +7,10 @@ import remote.IDrawingUpdate; ...@@ -7,11 +7,10 @@ import remote.IDrawingUpdate;
public class User public class User
{ {
private String username; private String username;
private remote.IChatUpdate IChatUpdate; private IChatUpdate IChatUpdate;
private remote.IDrawingUpdate IDrawingUpdate; private IDrawingUpdate IDrawingUpdate;
private remote.IClientUpdate IClientUpdate; private IClientUpdate IClientUpdate;
private boolean isAdmin; 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) public User(String username, IChatUpdate IChatUpdate, IClientUpdate IClientUpdate, IDrawingUpdate IDrawingUpdate)
{ {
...@@ -42,11 +41,7 @@ public class User ...@@ -42,11 +41,7 @@ public class User
return this.IChatUpdate; return this.IChatUpdate;
} }
public remote.IClientUpdate getIClientUpdate() public IDrawingUpdate getIDrawingUpdate() { return this.IDrawingUpdate; }
{
return this.IClientUpdate;
}
public remote.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