package vee.ui;
import javax.swing.JFrame;
import vee.Player;
import vee.enemies.PenelopeFox;
public class GameFrame extends JFrame{
GamePanel gamePanel;
Player player;
PenelopeFox fox;
public GameFrame() {
super("Vee");
this.player = new Player();
this.fox = PenelopeFox.getInstance();
this.setResizable(false);
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
gamePanel = new GamePanel(this);
this.setContentPane(gamePanel);
this.pack();
this.setLocationRelativeTo(null);
// this.addKeyListener(gamePanel);
this.setVisible(true);
}
}