         delete @table[id]
 
     get: (id) ->
-        ret = @table[id]
+        @table[id]
 
     getAll: ->
-        ret = @table
+        @table
 
 
 class Clients extends Hash


    sendAll: (data) ->
        clients = clientList.getAll()
        console.log clients
        for uid of clients
            client = clientList.get uid
            socketController.send client.clientSocket, data
            console.log "client: #{client.clientSocket}"




        socketController.sendAll obj
        console.log "adding sprite with uid: #{@uid} and id: #{@id} in sprite constructor"

    move: (data) ->
        @x = data.x
        @y = data.y

    getId: ->
        @id

    getX: ->
        @x

    getY: ->
        @y


###
begin listening for websockets
