code: public void setFrames (MultiFrameImage frames)
      {
          if (frames == null) {
              // log.warning("Someone set up us the null frames!", "sprite", this);
              return;
          }
  
          // if these are the same frames we already had, no need to do a bunch of pointless business
          if (frames == _frames) {
              return;
          }
  
          // set and init our frames
          _frames = frames;
          _frameIdx = 0;
          layout();
      }
docs: Set the image array used to render the sprite.
  
  @param frames the sprite images.