ExplodingSprite::ExplodingSprite(const MultiframeSprite& s) : 
  MultiframeSprite(s),
  chunks(), 
  freeList(),
  frames() {
  
  makeChunks_multi(Gamedata::getInstance()->getXmlInt(s.getName()+"ChunkSize"));
}
MultiframeSprite::MultiframeSprite(const MultiframeSprite& s) :
  Drawable(s.getName(), s.getPosition(), s.getVelocity()),
  frames(s.frames),
  strategy( new MidPointCollisionStrategy ),
  frameWidth(s.getFrame()->getWidth()),
  frameHeight(s.getFrame()->getHeight()),
  worldWidth(Gamedata::getInstance()->getXmlInt("worldWidth")),
  worldHeight(Gamedata::getInstance()->getXmlInt("worldHeight")),
  dt(s.dt),
  currentFrame(s.currentFrame),
  numberOfFrames( s.numberOfFrames ),
  frameInterval( s.frameInterval )
  { }