Engines/FlatRedBallXNA/FlatRedBall.Content/ModelAnimation/X File/XFileTokenizer.cs
/// <summary>
/// Reads a generic token from a .X file
/// </summary>
/// <returns>The next token</returns>
Reads a generic token from a .X file
Reads a generic token from a . X file
public string NextToken()
        {
            string s = null;
            try
            {
                s = tokens[tokenIndex];
            }
            catch
            {
                string error = "Tried to read token when there were " +
                    " no more tokens left.";
                error += "\n";
                error += "Token Index: " + tokenIndex;
                throw new IndexOutOfRangeException(error);
            }
            finally
            {
                tokenIndex++;
            }
            return s;
        }
public string NextToken ( ) { string s = null ; try { s = tokens [ tokenIndex ] ; } catch { string error = " " + " " ; error += " \n " ; error += " " + tokenIndex ; throw new IndexOutOfRangeException ( error ) ; } finally { tokenIndex ++ ; } return s ; }
Reads a generic token from a .X file
Reads a generic token from a . X file
The next token
The next token