public GamePlay(int min_width, int max_width, int min_height, int max_height, int num_enemies) { InitializeComponent(); ge = new GameEngine(min_width, max_width, min_height, max_height, num_enemies); width = ge.getWidth(); height = ge.getHeight(); redraw(); }
public GamePlay() { InitializeComponent(); ge = new GameEngine(); width = ge.getWidth(); height = ge.getHeight(); redraw(); }