create java class in visual studio code code example
Example: how to create a class in visual studio
class sample{
constructor(x,y,width,height){
this.body= Bodies.rectangle(x,y,width,height)
this.width= Width;
this.height= Height
}
display(){
var position= this.body.position
rect(position.x,position.y,width,height);
}