 
   reset: (world, args) ->
     dict = world.get 'dict'
-    ['position', 'direction'].map (key) ->
-      world.put key, dict[key]
+    ['position', 'direction'].map (key) -> world.put key, dict[key]
 }

exports.sprites = {
  _LABEL: 'sprites'
  _KIND: 'sprite'
  _SETUP: (world) ->
    shapes = world.get 'shapes'
    sprites = world.get 'sprites'
    for sprite_dict in sprites.all()

  running: 'first'
  editing: 'first'

  determine_next_position: (world, args) ->
    world.get('next_position') || world.get('position')

  commit: (world, args) ->
    world.put 'position', world.get('determine_next_position') 
    # proposed coordinates

  # direct actions (instructions)
  
  go: (world, dir) ->
    cell_count = world.get_plain('cell_count')
