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

Percept Class

Method name Parameters Return Description
Percept none constructor Default constructor for Percept class. It sets scores to zero and initializes a ball object.
Percept Ball, Player[], int, int, Highlight constructor Constructor for Percept class specifying the ball, players, scores of the teams and a highlight object.
Percept Ball constructor Constructor for Percept class specifying the ball.
getBall none Ball Gets the ball object.
getHighlight none Highlight Gets the highlight object.
getPlayers none Player[] Gets the players.
getTeam1Score none int Gets the score of the first team.
getTeam2Score none int Gets the score of the second team.
setHighlight Highlight void Sets the highlight object.
setPlayers Player[] void Sets the players.
setTeam1Score int void Sets the score of the first team.
setTeam2Score int void Sets the score of the second team.

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