CengBall: API (documented for version: v0.5)

SaveFile Class

Method name Parameters Return Description
SaveFile String constructor This class represents the save file which keeps all of the information about a simulated match.
SaveFile String, ArrayList< Percept>, Metadata constructor Constructor for the SaveFile class with an empty percept list. Parameter is path of the file.
getMetadata none Metadata Gets thge metadata of the save file.
getPerceptList none ArrayList< Percept> Gets the percept list of the save file.
getSaveFilePath none String Gets the path of the save file.
getStats none Statistic Gets the Statistic object of the save file.
saveCompressed none void This method compresses then writes the data to the file.
saveToFile none void This method writes the data to the file.
setMetadata Metadata void Sets the meta data of the save file.
setPerceptList ArrayList< Percept> void Sets the percept list of the save file.
setSaveFilePath String void Sets the path of the save file.
setStats Statistic void Sets the Statistic object of the save file.
getFromCompressed String SaveFile Gets the data from a compressed save file.
getFromFile String SaveFile Gets the data from a save file.

Attribute type Attribute name Description
none none Can not be reached any attribute of this.

TODO

News from CengBall

Quick Tutorial

How to set jdk path
How to import code

Twitter

    Follow @cengball

    © Copyright - Project 11