org.sunflow.core.parser

Class RA3Parser

Implemented Interfaces:
SceneParser

public class RA3Parser
extends java.lang.Object
implements SceneParser

Method Summary

boolean
parse(String filename, SunflowAPI api)
Parse the specified file to create a scene description into the provided SunflowAPI object.

Method Details

parse

public boolean parse(String filename,
                     SunflowAPI api)
Parse the specified file to create a scene description into the provided SunflowAPI object.
Specified by:
parse in interface SceneParser
Parameters:
filename - filename to parse
api - scene to parse the file into
Returns:
true upon sucess, or false if errors have occured.