//Augment Module
var DSP = (function(dsp){
  "use strict";
  //aliases
  var displays, protot, _super;
  dsp.displays = dsp.displays || Object.create(null);
  displays = dsp.displays;

  displays.Sheep = function(){
    this.super.call(this);
    _super = this.super;

    this.armature = DSP.DBoneFactory.createArmature("sheep");
    this.armature.animation.play();
    this.shadow = new EHDI.aka.Sprite(EHDI.Assets.images["sheep_shadow"]);
    this.shadow.anchor.set(0.5, 0.5);

    this.addChild(this.shadow);
    this.addChild(this.armature.display);
  }

  protot = displays.Sheep.prototype = Object.create(EHDI.aka.Container.prototype)

  protot.constructor = displays.Sheep;

  protot.super = EHDI.aka.Container;

  protot.playVO = function(){
    DSP.SoundMgr.playVO("sfx_sheep");
  }

  protot.destroy = function(){
    // _super.prototype.destroy.call(this, {children: true});
    DSP.DBoneFactory.destroyArmature(this.armature);
    _super.prototype.destroy.apply(this, arguments);
  }

  return dsp;
}(DSP || Object.create(null)));