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

PlayerAction Class

Method name Parameters Return Description
PlayerAction CommonEnums.ActionType constructor Constructor for PlayerAction class specifying the action type.
PlayerAction CommonEnums.ActionType, vector2D constructor Constructor for PlayerAction class specifying the action type and the intention vector.
clone none PlayerAction Copies this PlayerAction object and returns it.
getIntentVector none vector2D Gets the intention vector.
getType none CommonEnums.ActionType Gets the type of the PlayerAction.
setIntentVector vector2D void Sets the intention vector.
setType CommonEnums.ActionType void Sets the action type.
toString none String Returns this PlayerAction object as a string.

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