I am trying to add a UIBillboard to my scene using this code:
.....
import com.jme.ui.UIBillboard;
public UIBillboard _bill = null;
.....
.....
public void addScore()
{
uiNode = new Node("uiNode");
_bill = new UIBillboard("bill","..\data\car.png",50,50,1.0f);
uiNode.attachChild(_bill);
}
I am keep getting this error:
symbol : constructor UIBillboard(java.lang.String,java.lang.String,int,int,float)
location: class com.jme.ui.UIBillboard
_bill = new UIBillboard("bill","..\data\zebra-transparent-64x64.png",50,50,1.0f);
^
1 error
Having checked the docs I am using the right parameters for the call. I am sure the answer is something simple but dont seem to see it. Any idea whats happening?