package game;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JPanel;

public class Screen extends JPanel {
  private static final int WIDTH = 800;
  private static final int HEIGHT = 600;

  public Screen() {
    setPreferredSize(new Dimension(WIDTH, HEIGHT));
    setBackground(Color.GRAY);
  }
}

@@ -57,16 +57,70 @@
 mension;
+%0Aimport java.awt.Graphics;%0Aimport java.awt.Graphics2D;
 %0A%0Aimport
@@ -366,11 +366,286 @@
 AY);%0A  %7D
+%0A%0A  private void draw(Graphics g) %7B%0A    Graphics2D g2d = (Graphics2D) g.create();%0A  %7D%0A%0A  public void tick(boolean%5B%5D keys) %7B%0A%0A  %7D%0A%0A  public void render() %7B%0A    repaint();%0A  %7D%0A%0A  @Override%0A  public void paintComponent(Graphics g) %7B%0A    super.paintComponent(g);%0A    draw(g);%0A  %7D
 %0A%7D%0A

Add tick/render functions to Screen