public class RA2Parser extends Object implements SceneParser
Constructor and Description |
---|
RA2Parser() |
Modifier and Type | Method and Description |
---|---|
boolean |
parse(String filename,
SunflowAPIInterface api)
Parse the specified file to create a scene description into the provided
SunflowAPI object. |
public boolean parse(String filename, SunflowAPIInterface api)
SceneParser
SunflowAPI
object.parse
in interface SceneParser
filename
- filename to parseapi
- scene to parse the file intotrue
upon sucess, or false
if
errors have occured.Copyright © 2019. All rights reserved.