text: class Cannon{
      constructor(x,y,width,height,angle){
          this.x=x
          this.y=y
          this.width=width
          this.height=height
          this.angle=angle
          this.cannnonBase=loadImage("assets/cannonBase.png")
          this.cannnonimage=loadImage("assets/cannon.png")
  
      }
      show(){
      push()
      translate(this.x,this.y)
      rotate(this.angle)
      imageMode(CENTER)
      image(this.cannnonimage,0,0,this.width,this.height)
      pop()
      image(this.cannnonBase,70,20,200,200)
      noFill()
  
  
      }
  
  }