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

Metadata Class

Method name Parameters Return Description
Metadata TeamInfo, TeamInfo, Pitch, int constructor Constructor of the Metadata class specifying teams, pitch and the match length.
getMatchLength none int Gets the match length.
getPitch none Pitch Gets the pitch object of this MetaData object.
getTeam1 none TeamInfo Gets the first TeamInfo object.
getTeam2 none TeamInfo Gets the second TeamInfo object.
getTeamInfo int TeamInfo Gets the TeamInfo object with the given team ID.
setMatchLength int void Sets the match length.
setPitch Pitch void Sets the pitch.
writeToFile String void Writes the metadata to the savefile.

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