text: const Engine = Matter.Engine;
  const World = Matter.World;
  const Bodies = Matter.Bodies;
  const Body = Matter.Body;
  var canvas;
  let engine;
  let world;
  
  var tower;
  
  function preload(){
    backgroundImg = loadImage("assets/background.gif")
  }
  function setup() {
    canvas=createCanvas(1200,600);
  
    engine = Engine.create();
    world = engine.world;
  
  
    tower= new Tower(150,350,160,310)
    rectMode(CENTER);
    ellipseMode(RADIUS);
  }
  
  function draw() 
  {
    background(51);
  
  image(backgroundImg, 0,0,width, height)
  tower.display()
  
  
  Engine.update(engine);
  }
  
  