core

## Class VGDLParser

- java.lang.Object
- - core.VGDLParser

-     public class VGDLParser
      extends java.lang.Object

  Created with IntelliJ IDEA. User: Diego Date: 04/10/13 Time: 16:52 This is a Java port from Tom Schaul's VGDL - https://github.com/schaul/py-vgdl

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `currentSet` Current set through the game description file.
    `Game` | `game` Game which description is being read.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VGDLParser()` Default constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Game` | `parseGame(java.lang.String gamedesc_file)` Parses a game passed whose file is passed by parameter.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### game

          public Game game

      Game which description is being read.

    - #### currentSet

          public int currentSet

      Current set through the game description file.

  - ### Constructor Detail

    - #### VGDLParser

          public VGDLParser()

      Default constructor.

  - ### Method Detail

    - #### parseGame

          public Game parseGame(java.lang.String gamedesc_file)

      Parses a game passed whose file is passed by parameter.
      Parameters:
        `gamedesc_file` - filename of the file containing the game
      Returns:
        the game created