{"size": 322, "ext": "js", "max_stars_repo_path": "tower.js", "max_stars_repo_name": "Svegesina/Class-23", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "tower.js", "max_issues_repo_name": "Svegesina/Class-23", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "tower.js", "max_forks_repo_name": "Svegesina/Class-23", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 11.9259259259, "max_line_length": 43, "alphanum_fraction": 0.698757764}
class Tower{
constructor(x,y,w,h){
var options={
isStatic:true


}
this.x=x
this.y=y
this.w=w
this.h=h

this.body=Bodies.rectangle(x,y,w,h,options)
World.add(world,this.body)

}
display(){
var pos=this.body.position
push ()
translate (pos.x,pos.y)
fill ("red")
rectMode(CENTER)
rect(0,0,this.width,this.height)
pop ()

}
}