diff --git a/src/server/User.java b/src/server/User.java index a79c8c6bb8c7f34404bd940feedbee095f699ad5..543f26e6c9056a69b382ae8dc4819d4116e95559 100644 --- a/src/server/User.java +++ b/src/server/User.java @@ -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; } }