/** * Method that will get one frame of image from the animation for the given entity and image index * * @param s * @param frameID * @return the image */ public Texture2 getImage(String entityAniName, int frameID) { CircularArray<Texture2> frame = mReelsNameAssoc.get(entityAniName); // return the reels Texture2 i = frame.get(frameID); // return the frame return i; }