package avs;

import avs.models.*;

public class AVS {
    public static void main(String[] args) {
        // Demo goes here
        Energy energy = new Energy(0, 0);
        Zombie zombie = new Zombie(0, 0, 10);
        Thread energyThread = new Thread(energy);
        Thread zombiethread = new Thread(zombie);

        energyThread.start();
        zombiethread.start();
    }
}

@@ -29,16 +29,83 @@
 els.*;%0A%0A
+import javax.swing.*;%0Aimport java.awt.*;%0Aimport java.awt.event.*;%0A%0A
 public c
@@ -113,16 +113,31 @@
 ass AVS 
+extends JFrame 
 %7B%0A    pu
@@ -201,16 +201,36 @@
 es here%0A
+        new AVS();%0A%0A
         
@@ -436,24 +436,24 @@
 ad.start();%0A
-
         zomb
@@ -475,11 +475,285 @@
 );%0A    %7D
+%0A%0A    public AVS() %7B%0A        super(%22Acads vs. Students%22);%0A        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A        this.setPreferredSize(new Dimension(800, 600));%0A        this.pack();%0A        this.setLocationRelativeTo(null);%0A        this.setVisible(true);%0A    %7D
 %0A%7D%0A

Create window.