var film2d = use('film2d')
var world = use('world')
var compositor = use('compositor')
var input = use('input')
var tween = use('tween')
var graphics = use('graphics')

var snapshot = {}

snapshot.drawables = function() {
  return film2d.snapshot()
}

snapshot.entities = function() {
  return world.snapshot()
}

snapshot.compositor = function() {
  return compositor.snapshot()
}

snapshot.input = function() {
  return input.snapshot()
}

snapshot.tweens = function() {
  return tween.snapshot()
}

snapshot.assets = function() {
  return graphics.snapshot()
}

snapshot.all = function() {
  return {
    drawables: film2d.snapshot(),
    entities: world.snapshot(),
    compositor: compositor.snapshot(),
    input: input.snapshot(),
    tweens: tween.snapshot(),
    assets: graphics.snapshot()
  }
}

return snapshot
