 
 class Clients extends Hash
     add: (uid, clientSocket) ->
-        #console.log "adding client with uid: #{uid}"
+        console.log "adding client with uid: #{uid}"
         client = new Client uid, clientSocket
-        console.log "adding client: #{client}"
         super uid, client
+        client
     remove: (uid) ->
         #console.log "removing client with uid: #{uid}"
         obj =

            y: sprite.getY()
            command: 'move'
            text: 'moving'
        socketController.sendAll obj
        console.log "moving"

    fire: (data)->
        obj =
            uid: data.uid
            id: data.id
            eid: data.eid
            command: 'fire'
            text: 'firing'
        socketController.sendAll obj
        console.log "firing"




        @index++
        sprite = new Sprite uid, @index, team

        id = sprite.getId()
        super id, sprite
        sprite
    get: (id) ->
        #console.log "getting sprite with id: #{id}"
        super id
