         ba_left: 'WRAP'
 
     #class methods
-    @howMany = ->
+    @howMany: ->
         _list.length
-    @getAll = (what, excep...) ->
+    @getAll: (what, excep...) ->
         for sp in _list when sp not in excep
             sp.get what
-    @setAll = (what, to, excep...) ->
+    @setAll: (what, to, excep...) ->
         for sp in _list when sp not in excep
             sp.set what, to
         return
-    @changeAll = (what, step, excep...) ->
+    @changeAll: (what, step, excep...) ->
         for sp in _list when sp not in excep
             sp.change what, step
         return
-    @emitAll = (event, args...) ->
+    @emitAll: (event, args...) ->
         for sp in _list
             sp.emit event, args...
         return
-    @remove = (sprite) ->
+    @remove: (sprite) ->
         sprite._stop() if sprite.isRunning()
         for sp, i in _list when sp is sprite
             _list.splice i, 1
             return
-    @removeAll = (excep...) ->
+    @removeAll: (excep...) ->
         for sp in _list when sp not in excep
             sp._stop() if sp.isRunning()
 

            _list.push sp
        _list.sort _sortRule
        return
    @_drawAll = ->
        for sp in _list
            sp._draw()
        return
    @_startAll = ->
        for sp in _list
            sp._start()
        return
    @_stopAll = ->
        for sp in _list
            sp._stop()
        return

            old = @_bas[side] if _emit #deep copy?
            if @_bas[side]?
                @remove "#{oldCollision}:#{side}", @_bas[side]
            @_bas[side] = _boundaryCallbacks[to][side]
            @_bas[side].ba = to
            @on "#{newCollision}:#{side}", @_bas[side]
        else if what.match /^shape$/ #needs refining
