protected void setFrameIndex ( int fidx ) { _fidx = fidx ; _bounds . width = _frames . getWidth ( _fidx ) ; _bounds . height = _frames . getHeight ( _fidx ) ; }
Sets the frame index and updates our dimensions .